aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Arora <amit.arora@linaro.org>2010-12-01 13:52:01 +0530
committerAmit Arora <amit.arora@linaro.org>2010-12-01 13:52:01 +0530
commit203f4d40240c35d511d7c550311ada0bc651314d (patch)
tree33716680030710386428785e0336c802109b38b3
parent3bd7916532336cb9d2c8b1fa0cff6fb650936141 (diff)
downloadpowerdebug-203f4d40240c35d511d7c550311ada0bc651314d.tar.gz
Fix argument passing for long options
-rw-r--r--powerdebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/powerdebug.c b/powerdebug.c
index 14748c5..c94c14b 100644
--- a/powerdebug.c
+++ b/powerdebug.c
@@ -243,8 +243,8 @@ int main(int argc, char **argv)
{"regulator", 0, 0, 'r'},
{"sensor", 0, 0, 's'},
{"clock", 0, 0, 'c'},
- {"findparents", 0, 0, 'p'},
- {"time", 0, 0, 't'},
+ {"findparents", 1, 0, 'p'},
+ {"time", 1, 0, 't'},
{"dump", 0, 0, 'd'},
{"verbose", 0, 0, 'v'},
{"version", 0, 0, 'V'},