aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Mazo <mazo@telum.ru>2012-12-12 16:36:58 +0400
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2012-12-13 15:52:42 -0200
commitc02a8e6f9b6c600514a6d9d2564eca3e45c4fe35 (patch)
tree166afb681bc66a12941a0e3effc6f8d66b5dbc20
parent6feba028783faac89bbebd3861dfb07897210cb3 (diff)
downloadkmod-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.c2
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' },