From: Andrey Mazo Date: Wed, 12 Dec 2012 12:36:58 +0000 (+0400) Subject: depmod: --symbol-prefix actually requires an argument X-Git-Tag: v13~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c02a8e6f9b6c600514a6d9d2564eca3e45c4fe35;p=thirdparty%2Fkmod.git 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 --- diff --git a/tools/depmod.c b/tools/depmod.c index 682e6625..f7d71f85 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' },