From d0028b81ed346b4edccfb6dab55b6e204c280a48 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 17 Aug 2024 12:01:12 +0200 Subject: [PATCH] packages: roms: boot: add --help option. The resources/packages/roms/boot script already work with the "help" argument, however most of the other scripts use --help, so for consistency we need to add --help as well. Signed-off-by: Denis 'GNUtoo' Carikli Acked-by: Adrien Bourmault --- resources/packages/roms/boot | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/packages/roms/boot b/resources/packages/roms/boot index 35f003a..4ec03e9 100755 --- a/resources/packages/roms/boot +++ b/resources/packages/roms/boot @@ -80,6 +80,10 @@ buildrom() { if [ $# -gt 0 ]; then firstoption="${1}" + if [ "${firstoption}" = "--help" ]; then + help + exit 0 + fi if [ "${firstoption}" = "help" ]; then help exit 0