Message ID | 1441060472-82169-12-git-send-email-computersforpeace@gmail.com |
---|---|
State | Accepted |
Commit | 344753f2aacb94d98ce238f81fc4a4b6ef6adea9 |
Headers | show |
diff --git a/flash_unlock.c b/flash_unlock.c index d775c0b01950..f51870aeb69f 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);
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> --- flash_unlock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)