From 41925f2a449e61ae81820fd0a81072eeb4601bc1 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 26 Jul 2015 03:43:59 +0200 Subject: Document --yet-to-unpack, --predep-packages and --assert- commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both in «dpkg --help» and dpkg(1). Mark them as supported. Prompted-by: Johannes Schauer --- src/main.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 99f0e118b..d7b691510 100644 --- a/src/main.c +++ b/src/main.c @@ -71,7 +71,6 @@ printversion(const struct cmdinfo *ci, const char *value) /* * FIXME: Options that need fixing: - * dpkg --yet-to-unpack * dpkg --command-fd */ @@ -105,10 +104,13 @@ usage(const struct cmdinfo *ci, const char *value) " -l|--list [ ...] List packages concisely.\n" " -S|--search ... Find package(s) owning file(s).\n" " -C|--audit [ ...] Check for broken package(s).\n" +" --yet-to-unpack Print packages selected for installation.\n" +" --predep-packages Print pre-dependencies to unpack.\n" " --add-architecture Add to the list of architectures.\n" " --remove-architecture Remove from the list of architectures.\n" " --print-architecture Print dpkg architecture.\n" " --print-foreign-architectures Print allowed foreign architectures.\n" +" --assert- Assert support for the specified feature.\n" " --compare-versions Compare version numbers - see below.\n" " --force-help Show help on forcing.\n" " -Dh|--debug=help Show help on debugging.\n" @@ -117,6 +119,11 @@ usage(const struct cmdinfo *ci, const char *value) printf(_( " -?, --help Show this help message.\n" " --version Show the version.\n" +"\n")); + + printf(_( +"Assertable features: support-predepends, working-epoch, long-filenames,\n" +" multi-conrep, multi-arch, versioned-provides.\n" "\n")); printf(_( @@ -125,12 +132,6 @@ usage(const struct cmdinfo *ci, const char *value) "on archives (type %s --help).\n" "\n"), BACKEND); - printf(_( -"For internal use: dpkg --assert-support-predepends | --predep-package |\n" -" --assert-working-epoch | --assert-long-filenames | --assert-multi-conrep |\n" -" --assert-multi-arch | --assert-versioned-provides.\n" -"\n")); - printf(_( "Options:\n" " --admindir= Use instead of %s.\n" -- cgit v1.2.3