diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-08-31 14:39:47 -0700 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-11-11 14:05:36 -0800 |
commit | 344753f2aacb94d98ce238f81fc4a4b6ef6adea9 (patch) | |
tree | 9c92c75bfa8b6d93c3a41a0a0d7d5ec513b94578 | |
parent | ba224c47a1f71f01c0e65da85718247af91a5cc4 (diff) |
flash_{un,}lock: document block count == -1
These utilities have accepted -1 as a block count to mean "all blocks."
Let's document that.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
-rw-r--r-- | flash_unlock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/flash_unlock.c b/flash_unlock.c index d775c0b..f51870a 100644 --- a/flash_unlock.c +++ b/flash_unlock.c @@ -52,7 +52,8 @@ static void usage(int status) " -u --unlock Unlock a region of flash\n" "\n" "If offset is not specified, it defaults to 0.\n" - "If block count is not specified, it defaults to all blocks.\n", + "If block count is not specified, it defaults to all blocks.\n" + "A block count of -1 means all blocks.\n", flash_msg[DEFAULT_REQUEST], PROGRAM_NAME); exit(status); |