Closed vi closed 5 years ago
Yah, that's kind of an unfortunate suggestion, but it appears like is no simple way to fix this particular suggestion without turning suggestions off altogether.
However, the use of --
in the README is actually unnecessary with the current arguments, so I will just remove the unneeded usages of that, which should avoid (most) confusion.
Another CLI UI strangeness:
--out-fmt <out-fmt>
The format to save the generated image as.
NOTE: this will only apply when stdout is specified via `-o -`, otherwise the image format is determined by
the file extension of the path provided to `-o` [default: png]
Explicit command-line option should override any sort of auto-detection.
Describe the bug
Error message about wrong CLI usage is unclear
To Reproduce
Expected behavior
Error message helps me to fix the command line, not to substitude
generate
forgenerate
.The command line works if
--
is removed. As--
is often present in README examples, probability that users would step on this is higher.