summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-03-30 11:56:29 +0100
committerRichard Jones <rjones@redhat.com>2010-03-30 11:56:57 +0100
commite505c1655bda57806b3862a63239f7d7fa7ebbf1 (patch)
treed75fcca37f49671465cc08c674082560c077c50c
parentf692f27569a4fdb5a6ee0c8e1eb0035268eeadfd (diff)
downloadhivex-e505c1655bda57806b3862a63239f7d7fa7ebbf1.tar.gz
hivex-e505c1655bda57806b3862a63239f7d7fa7ebbf1.tar.xz
hivex-e505c1655bda57806b3862a63239f7d7fa7ebbf1.zip
hivexsh: '-f' option takes an argument (found by Marko Myllynen).
-rw-r--r--sh/hivexsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/hivexsh.c b/sh/hivexsh.c
index fe5857e..a9b738e 100644
--- a/sh/hivexsh.c
+++ b/sh/hivexsh.c
@@ -108,7 +108,7 @@ main (int argc, char *argv[])
set_prompt_string ();
- while ((c = getopt (argc, argv, "dfw")) != EOF) {
+ while ((c = getopt (argc, argv, "df:w")) != EOF) {
switch (c) {
case 'd':
open_flags |= HIVEX_OPEN_DEBUG;