projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3bc81ed
)
mktplinkfw: fix help string, and remove duplicated option
author
Gabor Juhos
<juhosg@openwrt.org>
Mon, 8 Mar 2010 17:35:07 +0000
(17:35 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Mon, 8 Mar 2010 17:35:07 +0000
(17:35 +0000)
SVN-Revision: 20067
tools/firmware-utils/src/mktplinkfw.c
patch
|
blob
|
history
diff --git
a/tools/firmware-utils/src/mktplinkfw.c
b/tools/firmware-utils/src/mktplinkfw.c
index c39fd04a4b769f7d27b92d52bfcd82d297c08e4c..ad422d7096594031ab5dae876584af6f1fdb3581 100644
(file)
--- a/
tools/firmware-utils/src/mktplinkfw.c
+++ b/
tools/firmware-utils/src/mktplinkfw.c
@@
-218,7
+218,8
@@
static void usage(int status)
" -k <file> read kernel image from the file <file>\n"
" -r <file> read rootfs image from the file <file>\n"
" -o <file> write output to the file <file>\n"
" -k <file> read kernel image from the file <file>\n"
" -r <file> read rootfs image from the file <file>\n"
" -o <file> write output to the file <file>\n"
-" -v <version> set image version to <version>\n"
+" -N <vendor> set image vendor to <vendor>\n"
+" -V <version> set image version to <version>\n"
" -h show this screen\n"
);
" -h show this screen\n"
);
@@
-454,7
+455,7
@@
int main(int argc, char *argv[])
while ( 1 ) {
int c;
while ( 1 ) {
int c;
- c = getopt(argc, argv, "B:V:N:ck:r:o:
v:h:
");
+ c = getopt(argc, argv, "B:V:N:ck:r:o:
h
");
if (c == -1)
break;
if (c == -1)
break;
@@
-480,9
+481,6
@@
int main(int argc, char *argv[])
case 'o':
ofname = optarg;
break;
case 'o':
ofname = optarg;
break;
- case 'v':
- version = optarg;
- break;
case 'h':
usage(EXIT_SUCCESS);
break;
case 'h':
usage(EXIT_SUCCESS);
break;