diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-06-24 08:18:38 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-06-24 08:18:38 +0000 |
commit | 5d1f41857b36fb8632f5d88314e40edd4abc94ef (patch) | |
tree | 6d3acf6050c32c7554378f78611d0ff51f188c39 /flashrom.c | |
parent | dd2e14c61c5631ff609de3ae1f2b5a22679e2b2b (diff) | |
download | flashrom-5d1f41857b36fb8632f5d88314e40edd4abc94ef.tar.gz flashrom-5d1f41857b36fb8632f5d88314e40edd4abc94ef.tar.bz2 flashrom-5d1f41857b36fb8632f5d88314e40edd4abc94ef.zip |
Remove duplicated [file] from usage help
A file is already specified directly in conjunction for -r/-w/-v.
Corresponding to flashrom svn r628.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flashrom.c')
-rw-r--r-- | flashrom.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -493,7 +493,7 @@ int erase_flash(struct flashchip *flash) void usage(const char *name) { printf("usage: %s [-VfLzhR] [-E|-r file|-w file|-v file] [-c chipname]\n" - " [-m [vendor:]part] [-l file] [-i image] [-p programmer] [file]\n\n", name); + " [-m [vendor:]part] [-l file] [-i image] [-p programmer]\n\n", name); printf("Please note that the command line interface for flashrom will " "change before\nflashrom 1.0. Do not use flashrom in scripts " @@ -518,9 +518,8 @@ void usage(const char *name) " it87spi, ft2232spi, serprog)\n" " -h | --help: print this help text\n" " -R | --version: print the version (release)\n" - "\nYou can specify one of -E, -r, -w, -v or no operation. " - "If no operation is\nspecified, then all that happens" - " is that flash info is dumped.\n\n"); + "\nYou can specify one of -E, -r, -w, -v or no operation. If no operation is\n" + "specified, then all that happens is that flash info is dumped.\n\n"); exit(1); } |