diff options
| author | Brian Norris <computersforpeace@gmail.com> | 2015-08-27 10:58:53 -0700 | 
|---|---|---|
| committer | Brian Norris <computersforpeace@gmail.com> | 2015-11-11 14:05:36 -0800 | 
| commit | 075fadd04e3ba4686b9beefb08d50be3242e02bb (patch) | |
| tree | a3003547c462c9198d1ebf7bc46d33da16d95617 | |
| parent | 892f17ce795b64ba024989785ca62ef72299df52 (diff) | |
flash_{un,}lock: nest optional parameters in help message
block count should be nested within the optional offset listing. That
is, we require offset before we accept a block count.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
| -rw-r--r-- | flash_unlock.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/flash_unlock.c b/flash_unlock.c index 1cc8c2f..ee8ac89 100644 --- a/flash_unlock.c +++ b/flash_unlock.c @@ -28,7 +28,7 @@  static void usage(int status)  {  	fprintf(status ? stderr : stdout, -		"Usage: %s <mtd device> [offset] [block count]\n\n" +		"Usage: %s <mtd device> [offset [block count]]\n\n"  		"If offset is not specified, it defaults to 0.\n"  		"If block count is not specified, it defaults to all blocks.\n",  		PROGRAM_NAME);  | 
