mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-03-13 05:00:17 -04:00
Add --help to CreatePersistentImg.sh
--help should have a return code of 0 in most scripts.
This commit is contained in:
parent
1bf3e73373
commit
d420d370e7
@ -23,6 +23,9 @@ while [ -n "$1" ]; do
|
|||||||
elif [ "$1" = "-l" ]; then
|
elif [ "$1" = "-l" ]; then
|
||||||
shift
|
shift
|
||||||
label=$1
|
label=$1
|
||||||
|
elif [ "$1" = "--help" ]; then
|
||||||
|
print_usage
|
||||||
|
exit 0
|
||||||
else
|
else
|
||||||
print_usage
|
print_usage
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user