This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=6cca7ea82bbe06e341e975782d9ba76dce93779f

commit 6cca7ea82bbe06e341e975782d9ba76dce93779f
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Jun 24 22:42:36 2020 +0200

    dpkg, dpkg-query: Document missing options in --help output
---
 debian/changelog | 1 +
 src/main.c       | 3 +++
 src/querycmd.c   | 1 +
 3 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6446a5935..d77175958 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,7 @@ dpkg (1.20.1) UNRELEASED; urgency=medium
     a ‘.’, like when printing with the field names.
     Reported by Paul Wise <[email protected]>.
   * dpkg: Add a new --robot option to be used with --version.
+  * dpkg, dpkg-query: Document missing options in --help output.
   * Portability:
     - libdpkg: When using uselocale(), include <xlocale.h> for locale_t if
       the header is available. Needed on BSDs.
diff --git a/src/main.c b/src/main.c
index ccf589bfb..f5c4e007b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -146,6 +146,8 @@ usage(const struct cmdinfo *ci, const char *value)
 "  --admindir=<directory>     Use <directory> instead of %s.\n"
 "  --root=<directory>         Install on a different root directory.\n"
 "  --instdir=<directory>      Change installation dir without changing admin 
dir.\n"
+"  --pre-invoke=<command>     Set a pre-invoke hook.\n"
+"  --post-invoke=<command>    Set a post-invoke hook.\n"
 "  --path-exclude=<pattern>   Do not install paths which match a shell 
pattern.\n"
 "  --path-include=<pattern>   Re-include a pattern after a previous 
exclusion.\n"
 "  -O|--selected-only         Skip packages not selected for 
install/upgrade.\n"
@@ -154,6 +156,7 @@ usage(const struct cmdinfo *ci, const char *value)
 "  -B|--auto-deconfigure      Install even if it would break some other 
package.\n"
 "  --[no-]triggers            Skip or force consequential trigger 
processing.\n"
 "  --verify-format=<format>   Verify output format (supported: 'rpm').\n"
+"  --no-pager                 Disables the use of any pager.\n"
 "  --no-debsig                Do not try to verify package signatures.\n"
 "  --no-act|--dry-run|--simulate\n"
 "                             Just say what we would do - don't do it.\n"
diff --git a/src/querycmd.c b/src/querycmd.c
index 51658dcdc..2b878c894 100644
--- a/src/querycmd.c
+++ b/src/querycmd.c
@@ -813,6 +813,7 @@ usage(const struct cmdinfo *ci, const char *value)
 "Options:\n"
 "  --admindir=<directory>           Use <directory> instead of %s.\n"
 "  --load-avail                     Use available file on --show and --list.\n"
+"  --no-pager                       Disables the use of any pager.\n"
 "  -f|--showformat=<format>         Use alternative format for --show.\n"
 "\n"), ADMINDIR);
 

-- 
Dpkg.Org's dpkg

Reply via email to