From 865b3fb435c6896498bd6174e5ee4ea605a963fd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 3 Feb 2008 00:06:20 +0100 Subject: [PATCH] fix file input for cli --- cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.c b/cli.c index 1a478bb..fdcc08d 100644 --- a/cli.c +++ b/cli.c @@ -301,7 +301,7 @@ int main(int argc, char **argv) return 1; } - while((c = getopt(argc, argv, "mfsS")) != -1) { + while((c = getopt(argc, argv, "mf:sS")) != -1) { switch(c) { case 'f': input = fopen(optarg, "r"); -- 2.41.1