From c02a8e6f9b6c600514a6d9d2564eca3e45c4fe35 Mon Sep 17 00:00:00 2001 From: Andrey Mazo Date: Wed, 12 Dec 2012 16:36:58 +0400 Subject: [PATCH] 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 --- tools/depmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' }, -- 2.47.2