Просмотр исходного кода

Align --version with --help on help output

Guillem Jover лет назад: 14
Родитель
Сommit
c37770705a
7 измененных файлов с 7 добавлено и 7 удалено
  1. 1 1
      dpkg-deb/main.c
  2. 1 1
      dpkg-split/main.c
  3. 1 1
      scripts/dpkg-architecture.pl
  4. 1 1
      scripts/dpkg-mergechangelogs.pl
  5. 1 1
      src/main.c
  6. 1 1
      src/querycmd.c
  7. 1 1
      src/trigcmd.c

+ 1 - 1
dpkg-deb/main.c

@@ -88,7 +88,7 @@ usage(const struct cmdinfo *cip, const char *value)
 
   printf(_(
 "  -?, --help                       Show this help message.\n"
-"  --version                        Show the version.\n"
+"      --version                    Show the version.\n"
 "\n"));
 
   printf(_(

+ 1 - 1
dpkg-split/main.c

@@ -77,7 +77,7 @@ usage(const struct cmdinfo *cip, const char *value)
 
   printf(_(
 "  -?, --help                       Show this help message.\n"
-"  --version                        Show the version.\n"
+"      --version                    Show the version.\n"
 "\n"));
 
   printf(_(

+ 1 - 1
scripts/dpkg-architecture.pl

@@ -61,7 +61,7 @@ sub usage {
   -u                 print command to unset environment variables.
   -c <command>       set environment and run the command in it.
   -?, --help         show this help message.
-  --version          show the version.
+      --version      show the version.
 "), $progname;
 }
 

+ 1 - 1
scripts/dpkg-mergechangelogs.pl

@@ -67,7 +67,7 @@ Options:
   --merge-prereleases, -m  merge pre-releases together, ignores everything
                            after the last '~' in the version.
   -?, --help               show this help message.
-  --version                show the version.
+      --version            show the version.
 "), $progname);
 }
 

+ 1 - 1
src/main.c

@@ -116,7 +116,7 @@ usage(const struct cmdinfo *ci, const char *value)
 
   printf(_(
 "  -?, --help                       Show this help message.\n"
-"  --version                        Show the version.\n"
+"      --version                    Show the version.\n"
 "\n"));
 
   printf(_(

+ 1 - 1
src/querycmd.c

@@ -773,7 +773,7 @@ usage(const struct cmdinfo *ci, const char *value)
 
   printf(_(
 "  -?, --help                       Show this help message.\n"
-"  --version                        Show the version.\n"
+"      --version                    Show the version.\n"
 "\n"));
 
   printf(_(

+ 1 - 1
src/trigcmd.c

@@ -77,7 +77,7 @@ usage(const struct cmdinfo *ci, const char *value)
 
 	printf(_(
 "  -?, --help                       Show this help message.\n"
-"  --version                        Show the version.\n"
+"      --version                    Show the version.\n"
 "\n"));
 
 	printf(_(