[Powertop] [PATCH 4/4] -V (version) does not take an argument, whether optional or not.
Joerg Mayer <jmpt at loplof.de> Thu, 23 Aug 2012 23:32:33 +0200
| Newsgroups | dev.linux.lists.powertop |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Joerg Mayer <jmpt(a)loplof.de>
---
src/main.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main.cpp b/src/main.cpp
index c310cb2..80d7597 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -343,7 +343,7 @@ int main(int argc, char **argv)
textdomain (PACKAGE);
while (1) { /* parse commandline options */
- c = getopt_long (argc, argv, "ch:C:i:t:uV:w:q", long_options, &option_index);
+ c = getopt_long (argc, argv, "ch:C:i:t:uVw:q", long_options, &option_index);
/* Detect the end of the options. */
if (c == -1)
break;
--
1.7.7