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

dpkg-query: Add --control-list and --control-show to --help output

Missed in commit 1a60e5317318ab0d4097b524a2b5cd39ab905f11.
Guillem Jover лет назад: 14
Родитель
Сommit
c43b766db3
2 измененных файлов с 4 добавлено и 0 удалено
  1. 1 0
      debian/changelog
  2. 3 0
      src/querycmd.c

+ 1 - 0
debian/changelog

@@ -5,6 +5,7 @@ dpkg (1.16.6) UNRELEASED; urgency=low
     as that might cause the operation to fail if the mcstransd daemon
     stopped running during the transaction. Closes: #679641
     Thanks to Russell Coker <russell@coker.com.au>.
+  * Add --control-list and --control-show to dpkg-query --help output.
 
   [ Updated scripts translations ]
   * German (Helge Kreutzmann).

+ 3 - 0
src/querycmd.c

@@ -783,6 +783,9 @@ usage(const struct cmdinfo *ci, const char *value)
 "  -l|--list [<pattern> ...]        List packages concisely.\n"
 "  -W|--show [<pattern> ...]        Show information on package(s).\n"
 "  -S|--search <pattern> ...        Find package(s) owning file(s).\n"
+"     --control-list <package>      Print the package control file list.\n"
+"     --control-show <package> <file>\n"
+"                                   Show the package control file.\n"
 "  -c|--control-path <package> [<file>]\n"
 "                                   Print path for package control file.\n"
 "\n"));