diff options
author | Guillem Jover <guillem@debian.org> | 2015-07-26 03:43:59 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2015-07-26 05:59:58 +0200 |
commit | 41925f2a449e61ae81820fd0a81072eeb4601bc1 (patch) | |
tree | b4898194f60ef789df531f33b537fd22db1d93b8 /src | |
parent | 4c34663ee96ade8a3daad1e588691d6a0cfaeed5 (diff) | |
download | dpkg-41925f2a449e61ae81820fd0a81072eeb4601bc1.tar.gz |
Document --yet-to-unpack, --predep-packages and --assert-<feature> commands
Both in «dpkg --help» and dpkg(1). Mark them as supported.
Prompted-by: Johannes Schauer <j.schauer@email.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 15 |
1 files changed, 8 insertions, 7 deletions
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 [<pattern> ...] List packages concisely.\n" " -S|--search <pattern> ... Find package(s) owning file(s).\n" " -C|--audit [<package> ...] 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 <arch> Add <arch> to the list of architectures.\n" " --remove-architecture <arch> Remove <arch> from the list of architectures.\n" " --print-architecture Print dpkg architecture.\n" " --print-foreign-architectures Print allowed foreign architectures.\n" +" --assert-<feature> Assert support for the specified feature.\n" " --compare-versions <a> <op> <b> Compare version numbers - see below.\n" " --force-help Show help on forcing.\n" " -Dh|--debug=help Show help on debugging.\n" @@ -120,18 +122,17 @@ usage(const struct cmdinfo *ci, const char *value) "\n")); printf(_( +"Assertable features: support-predepends, working-epoch, long-filenames,\n" +" multi-conrep, multi-arch, versioned-provides.\n" +"\n")); + + printf(_( "Use dpkg with -b, --build, -c, --contents, -e, --control, -I, --info,\n" " -f, --field, -x, --extract, -X, --vextract, --ctrl-tarfile, --fsys-tarfile\n" "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=<directory> Use <directory> instead of %s.\n" " --root=<directory> Install on a different root directory.\n" |