Guillem Jover лет назад: 11
Родитель
Сommit
c91c10793d
3 измененных файлов с 4 добавлено и 3 удалено
  1. 1 0
      debian/changelog
  2. 2 2
      dselect/main.cc
  3. 1 1
      man/dselect.1

+ 1 - 0
debian/changelog

@@ -114,6 +114,7 @@ dpkg (1.18.0) UNRELEASED; urgency=low
   * Improve commands listing in «dselect --help» output, by printing them
     before options and listing them one on each line with a description.
   * Improve dselect color-spec --help output.
+  * Document dselect -? option.
 
   [ Raphaël Hertzog ]
   * Drop myself from Uploaders.

+ 2 - 2
dselect/main.cc

@@ -195,8 +195,8 @@ usage(const struct cmdinfo *ci, const char *value)
 "\n"), ADMINDIR);
 
   printf(_(
-"  --help                     Show this help message.\n"
-"  --version                  Show the version.\n"
+"  -?, --help                       Show this help message.\n"
+"      --version                    Show the version.\n"
 "\n"));
 
   printf(_("<color-spec> is <screen-part>:[<foreground>],[<background>][:<attr>[+<attr>]...]\n"));

+ 1 - 1
man/dselect.1

@@ -132,7 +132,7 @@ separated by plus ("+") characters. Available attributes include (not all
 of these will work on all terminals): normal, standout, underline, reverse,
 blink, bright, dim, bold
 .TP
-.B \-\-help
+.BR \-? ", " \-\-help
 Print a brief help text and exit successfully.
 .TP
 .B \-\-version