kmod-modprobe: improve --help output.

This commit is contained in:
Gustavo Sverzut Barbieri 2011-12-19 13:02:15 -02:00 committed by Lucas De Marchi
parent 0e3e2f436e
commit ab70dce181

View File

@ -96,34 +96,38 @@ static void help(const char *progname)
"\t%s [options] -c\n"
"\t%s [options] --dump-modversions filename\n"
"Management Options:\n"
"\t-a, --all \n"
"\t-r, --remove \n"
"\t --remove-dependencies \n"
"\t-R, --resolve-alias \n"
"\t --first-time \n"
"\t-i, --ignore-install \n"
"\t-i, --ignore-remove \n"
"\t-b, --use-blacklist \n"
"\t-f, --force \n"
"\t --force-modversion \n"
"\t --force-vermagic \n"
"\t-a, --all Consider every non-argument to\n"
"\t be a module name to be inserted\n"
"\t or removed (-r)\n"
"\t-r, --remove Remove modules instead of inserting\n"
"\t --remove-dependencies Also remove modules depending on it\n"
"\t-R, --resolve-alias Only lookup and print alias and exit\n"
"\t --first-time Fail if module already inserted or removed\n"
"\t-i, --ignore-install Ignore install commands\n"
"\t-i, --ignore-remove Ignore remove commands\n"
"\t-b, --use-blacklist Apply blacklist to resolved alias.\n"
"\t-f, --force Force module insertion or removal.\n"
"\t implies --force-modversions and\n"
"\t --force-vermagic\n"
"\t --force-modversion Ignore module's version\n"
"\t --force-vermagic Ignore module's version magic\n"
"\n"
"Query Options:\n"
"\t-t, --type=DIR \n"
"\t-l, --list \n"
"\t-D, --show-depends \n"
"\t-c, --showconfig \n"
"\t-c, --show-config \n"
"\t --show-modversions \n"
"\t --dump-modversions \n"
"\t-t, --type=DIR Limit type used by --list\n"
"\t-l, --list List known modules\n"
"\t-D, --show-depends Only print module dependencies and exit\n"
"\t-c, --showconfig Print out known configuration and exit\n"
"\t-c, --show-config Same as --showconfig\n"
"\t --show-modversions Dump module symbol version and exit\n"
"\t --dump-modversions Same as --show-modversions\n"
"\n"
"General Options:\n"
"\t-n, --dry-run \n"
"\t-n, --show \n"
"\t-n, --dry-run Do not execute operations, just print out\n"
"\t-n, --show Same as --dry-run\n"
"\t-C, --config=FILE \n"
"\t-d, --dirname=DIR \n"
"\t-S, --set-version=VERSION \n"
"\t-C, --config=FILE Use FILE instead of /etc/modprobe.d\n"
"\t-d, --dirname=DIR Use DIR as filesystem root for /lib/modules\n"
"\t-S, --set-version=VERSION Use VERSION instead of `uname -r`\n"
"\t-s, --syslog print to syslog, not stderr\n"
"\t-q, --quiet disable messages\n"