From: Harish <ha...@li...> - 2017-10-03 05:06:09
|
This patch handles --help option for bootlist command and returns with 0 Signed-off-by: Harish <ha...@li...> --- scripts/bootlist | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/bootlist b/scripts/bootlist index 771389a..187b08c 100755 --- a/scripts/bootlist +++ b/scripts/bootlist @@ -422,6 +422,10 @@ while [[ -n $1 ]]; do add_logical $i done shift + elif [[ $1 = "--help" ]]; then + # display bootlist command help message + usage + exit 0 elif [[ $1 = -* ]]; then # catch any illegal flags here usage -- 2.7.4 |