mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-12-01 22:02:38 -05:00
Add --help to CreatePersistentImg.sh
--help should have a return code of 0 in most scripts.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user