projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b1ddfb
)
fix file input for cli
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 2 Feb 2008 23:06:20 +0000
(
00:06
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 2 Feb 2008 23:06:20 +0000
(
00:06
+0100)
cli.c
patch
|
blob
|
history
diff --git
a/cli.c
b/cli.c
index 1a478bb05eae953de0f4284f6bc78f586b23ef3e..fdcc08de9dd402c044b7eecf8c7e2d0448c6ae49 100644
(file)
--- 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");