[PATCH 1/2] depmod: --symbol-prefix actually requires an argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-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

--
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


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux