summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c
index 99f0e11..d7b6915 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"