From 344753f2aacb94d98ce238f81fc4a4b6ef6adea9 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Mon, 31 Aug 2015 14:39:47 -0700 Subject: 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 --- flash_unlock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3