From: Richard Jones Date: Tue, 30 Mar 2010 10:56:29 +0000 (+0100) Subject: hivexsh: '-f' option takes an argument (found by Marko Myllynen). X-Git-Tag: 1.2.1~6 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=e505c1655bda57806b3862a63239f7d7fa7ebbf1;p=hivex.git hivexsh: '-f' option takes an argument (found by Marko Myllynen). --- 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;