Przeglądaj źródła

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

Missed in commit 1a60e5317318ab0d4097b524a2b5cd39ab905f11.
Guillem Jover 14 lat temu
rodzic
commit
c43b766db3
2 zmienionych plików z 4 dodań i 0 usunięć
  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
     as that might cause the operation to fail if the mcstransd daemon
     stopped running during the transaction. Closes: #679641
     stopped running during the transaction. Closes: #679641
     Thanks to Russell Coker <russell@coker.com.au>.
     Thanks to Russell Coker <russell@coker.com.au>.
+  * Add --control-list and --control-show to dpkg-query --help output.
 
 
   [ Updated scripts translations ]
   [ Updated scripts translations ]
   * German (Helge Kreutzmann).
   * 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"
 "  -l|--list [<pattern> ...]        List packages concisely.\n"
 "  -W|--show [<pattern> ...]        Show information on package(s).\n"
 "  -W|--show [<pattern> ...]        Show information on package(s).\n"
 "  -S|--search <pattern> ...        Find package(s) owning file(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"
 "  -c|--control-path <package> [<file>]\n"
 "                                   Print path for package control file.\n"
 "                                   Print path for package control file.\n"
 "\n"));
 "\n"));