From 6d8a963c9be88efe71eef814f9e17739de28068c Mon Sep 17 00:00:00 2001 From: "Dmitrij D. Czarkoff" Date: Sun, 23 Oct 2016 03:41:47 +0200 Subject: 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. --- doc/imv.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3