diff options
author | Dmitrij D. Czarkoff <czarkoff@gmail.com> | 2016-10-23 03:41:47 +0200 |
---|---|---|
committer | Dmitrij D. Czarkoff <czarkoff@gmail.com> | 2016-10-23 03:41:47 +0200 |
commit | 6d8a963c9be88efe71eef814f9e17739de28068c (patch) | |
tree | 8c79d7236522d46fb4944155d95f1976021c3dfa | |
parent | df6393be75b8b09184426269135e031bda0e8621 (diff) | |
download | imv-6d8a963c9be88efe71eef814f9e17739de28068c.tar.gz |
Don't advertise hash sign usage with '-b' option
Most shells would interpret the hash sign as start of the comment, so command
with an unescaped hash sign will result in rather puzzling error message:
$ imv -b #C0C0C0 files...
Unknown argument 'b'. Aborting.
Although there is obvious workaround (detect 'b' in '?' case of getopt switch
and put more appropriate message), it generally makes more sense to suggest
plain hex values for input.
-rw-r--r-- | doc/imv.1 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ Either .Ar checks or a hex color value. Defaults to -.Ar #000000 . +.Ar 000000 . .It Fl e Ar font:size Set the font used by the overlay. .Ar font |