From 29e49155f3a4bd152bb8237225fb370198348099 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 18 Aug 2017 21:19:33 +0100 Subject: [PATCH] scripts: Correct help output Using --image is mandatory if you want that mode. Signed-off-by: Ian Campbell --- scripts/update-component-sha.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/update-component-sha.sh b/scripts/update-component-sha.sh index 2260bd82f..2eeda3f49 100755 --- a/scripts/update-component-sha.sh +++ b/scripts/update-component-sha.sh @@ -15,12 +15,12 @@ Available modes: --hash and --image Replace by hash: $0 --hash - Example: $0 8675309abcdefg abcdef567899 + Example: $0 --hash 8675309abcdefg abcdef567899 Will replace all instances of 8675309abcdefg with abcdef567899 Replace by image: $0 --image $0 --image - Example: $0 linuxkit/foo abcdef567899 + Example: $0 --image linuxkit/foo abcdef567899 Will tag all instances of linuxkit/foo with abcdef567899 By default, for convenience, if no mode is given (--image or --hash), the first method (--hash) is assumed.