From e505c1655bda57806b3862a63239f7d7fa7ebbf1 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 30 Mar 2010 11:56:29 +0100 Subject: [PATCH] hivexsh: '-f' option takes an argument (found by Marko Myllynen). --- sh/hivexsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.3.1