diff options
author | Andrey Mazo <mazo@telum.ru> | 2012-12-12 16:36:58 +0400 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-12-13 15:52:42 -0200 |
commit | c02a8e6f9b6c600514a6d9d2564eca3e45c4fe35 (patch) | |
tree | 166afb681bc66a12941a0e3effc6f8d66b5dbc20 | |
parent | 6feba028783faac89bbebd3861dfb07897210cb3 (diff) | |
download | kmod-c02a8e6f9b6c600514a6d9d2564eca3e45c4fe35.tar.gz |
depmod: --symbol-prefix actually requires an argument
-P requires and uses an argument but its long counterpart --symbol-prefix does not:
depmod: option '--symbol-prefix' doesn't allow an argument
-rw-r--r-- | tools/depmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depmod.c b/tools/depmod.c index 682e662..f7d71f8 100644 --- a/tools/depmod.c +++ b/tools/depmod.c @@ -63,7 +63,7 @@ static const struct option cmdopts[] = { { "verbose", no_argument, 0, 'v' }, { "show", no_argument, 0, 'n' }, { "dry-run", no_argument, 0, 'n' }, - { "symbol-prefix", no_argument, 0, 'P' }, + { "symbol-prefix", required_argument, 0, 'P' }, { "warn", no_argument, 0, 'w' }, { "map", no_argument, 0, 'm' }, /* deprecated */ { "version", no_argument, 0, 'V' }, |