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 <GNUtoo@cyberdimension.org> Acked-by: Adrien Bourmault <neox@gnu.org>
This commit is contained in:
parent
6721094e10
commit
d0028b81ed
|
@ -80,6 +80,10 @@ buildrom() {
|
||||||
|
|
||||||
if [ $# -gt 0 ]; then
|
if [ $# -gt 0 ]; then
|
||||||
firstoption="${1}"
|
firstoption="${1}"
|
||||||
|
if [ "${firstoption}" = "--help" ]; then
|
||||||
|
help
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
if [ "${firstoption}" = "help" ]; then
|
if [ "${firstoption}" = "help" ]; then
|
||||||
help
|
help
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue