building scripts: fix and unite the format of help
This commit is contained in:
parent
033d323d3b
commit
280da35d33
|
@ -79,9 +79,9 @@ echo Usage: %~nx0 ^<command^> ^<target Minecraft version^>
|
|||
echo Commands:
|
||||
echo:/^?,
|
||||
echo -h,
|
||||
echo --help : Displays this help message
|
||||
echo build : Builds the resource pack
|
||||
echo clean : Cleans the build directory
|
||||
echo --help : Displays this help message
|
||||
echo build : Builds the resource pack
|
||||
echo clean : Cleans the build directory
|
||||
echo.
|
||||
call :display_available_versions
|
||||
goto :EOF
|
||||
|
|
8
build.sh
8
build.sh
|
@ -61,9 +61,11 @@ clean() {
|
|||
display_help() {
|
||||
echo "Usage: $0 <command> <target Minecraft version>"
|
||||
echo "Commands:"
|
||||
echo " /?, -h, --help: Displays this help message"
|
||||
echo " build: Builds the resource pack"
|
||||
echo " clean: Cleans the build directory"
|
||||
echo "/?,"
|
||||
echo "-h,"
|
||||
echo "--help : Displays this help message"
|
||||
echo "build : Builds the resource pack"
|
||||
echo "clean : Cleans the build directory"
|
||||
echo
|
||||
display_available_versions
|
||||
}
|
||||
|
|
Reference in New Issue