From: Gabor Juhos Date: Mon, 8 Mar 2010 17:35:07 +0000 (+0000) Subject: mktplinkfw: fix help string, and remove duplicated option X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4ccab48a6bb9b296c8b758d542a482bc7a823398;p=openwrt%2Fstaging%2Fnbd.git mktplinkfw: fix help string, and remove duplicated option SVN-Revision: 20067 --- 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 read kernel image from the file \n" " -r read rootfs image from the file \n" " -o write output to the file \n" -" -v set image version to \n" +" -N set image vendor to \n" +" -V set image version to \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;