From 2ef727d0fe91d43843503c791ca3f06d75d8b122 Mon Sep 17 00:00:00 2001 From: Milton Miller Date: Wed, 15 Jun 2016 16:02:23 -0500 Subject: initfs: update: add --help message Now that update is intended for use at runtime and not just by the init and shutdown scripts, add a short help message listing the options so people don't have to understand how to read shell. Signed-off-by: Milton Miller --- .../obmc-phosphor-initfs/files/obmc-update.sh | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'meta-phosphor') diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-update.sh b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-update.sh index fa46635a5..268c6ad0e 100755 --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-update.sh +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-update.sh @@ -106,6 +106,24 @@ image=/run/initramfs/image- while test "$1" != "${1#-}" do case "$1" in + --help) + cat <