Hi, On Tue, Dec 11, 2012 at 4:31 PM, Andrey Mazo <mazo@xxxxxxxx> wrote: > From 12e7524583a0e2b358f07a69d4bb84d608c1213c Mon Sep 17 00:00:00 2001 > From: Andrey Mazo <mazo@xxxxxxxx> > Date: Tue, 11 Dec 2012 21:20:46 +0400 > Subject: [PATCH 1/2] 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 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' }, > -- > 1.7.8.6 Looks good, but could you please send with git-send-email so it's not screwed by copy and paste? cheers Lucas De Marchi -- To unsubscribe from this list: send the line "unsubscribe linux-modules" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html