projects
/
project
/
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
1a478bb
..
fdcc08d
100644
(file)
--- a/
cli.c
+++ b/
cli.c
@@
-301,7
+301,7
@@
int main(int argc, char **argv)
return 1;
}
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");
switch(c) {
case 'f':
input = fopen(optarg, "r");