commit a599eaa672149b27faa373819f8beba58c056303 from: Omar Polo date: Sun Jan 02 09:12:59 2022 UTC add --corours as an alias for --color Suggested by Florian, thanks! commit - c95f27448b0e685af70aeed08a4a468c225af09f commit + a599eaa672149b27faa373819f8beba58c056303 blob - 5d939cd76557d9766a90c1178d1c693155f9fd4d blob + dcec8760d6aaf6609a204ed7e1df696f11f1d320 --- ChangeLog +++ ChangeLog @@ -1,4 +1,6 @@ 2022-01-02 Omar Polo + + * telescope.c (longopts): add --colours as an alias for --color. Suggested by Florian, thanks! * telescope.c (longopts): fixed crash on --colors. Reported by Florian, thanks! blob - ced6ab626b5080bdd80359a56d1f3dce43613d95 blob + cfbd3ef8b703abee2fd28d2c37c031f6f6660f11 --- telescope.1 +++ telescope.1 @@ -34,8 +34,10 @@ out-of-band TOFU verification. .Pp The arguments are as follows: .Bl -tag -width xxxxxxxxxxxxx -.It Fl C , Fl -colors +.It Fl C , Fl -colours Show all available colors and exit. +This option can also be spelled +.Fl -colors . .It Fl c Ar config Specify an alternative configuration file. By default blob - 3f4813103c9b76cf3965f529fc1693720a5bbae0 blob + 1ea5112a17d01a050a1dc8527e82f6fd19684a21 --- telescope.c +++ telescope.c @@ -36,7 +36,8 @@ #include "ui.h" static struct option longopts[] = { - {"colors", no_argument, NULL, 'C'}, + {"colors", no_argument, NULL, 'C'}, + {"colours", no_argument, NULL, 'C'}, {"help", no_argument, NULL, 'h'}, {"safe", no_argument, NULL, 'S'}, {"version", no_argument, NULL, 'v'},