aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-03-08 17:35:07 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-03-08 17:35:07 +0000
commit4ccab48a6bb9b296c8b758d542a482bc7a823398 (patch)
treeaeeabef609ed0527e5d00324c07a5bbaefcde0bb /tools/firmware-utils
parent3bc81edc70e8c59e2a633b9174efb5c697f6a6e6 (diff)
downloadupstream-4ccab48a6bb9b296c8b758d542a482bc7a823398.tar.gz
upstream-4ccab48a6bb9b296c8b758d542a482bc7a823398.tar.bz2
upstream-4ccab48a6bb9b296c8b758d542a482bc7a823398.zip
mktplinkfw: fix help string, and remove duplicated option
SVN-Revision: 20067
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r--tools/firmware-utils/src/mktplinkfw.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
index c39fd04a4b..ad422d7096 100644
--- 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"
-" -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"
);
@@ -454,7 +455,7 @@ int main(int argc, char *argv[])
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;
@@ -480,9 +481,6 @@ int main(int argc, char *argv[])
case 'o':
ofname = optarg;
break;
- case 'v':
- version = optarg;
- break;
case 'h':
usage(EXIT_SUCCESS);
break;