aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitrij D. Czarkoff <czarkoff@gmail.com>2016-10-23 03:41:47 +0200
committerDmitrij D. Czarkoff <czarkoff@gmail.com>2016-10-23 03:41:47 +0200
commit6d8a963c9be88efe71eef814f9e17739de28068c (patch)
tree8c79d7236522d46fb4944155d95f1976021c3dfa
parentdf6393be75b8b09184426269135e031bda0e8621 (diff)
downloadimv-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.12
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/imv.1 b/doc/imv.1
index 29ad051..ec3bb8d 100644
--- a/doc/imv.1
+++ b/doc/imv.1
@@ -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