[CI-SKIP] Add a few missing commands to the ./paper help output

This commit is contained in:
Jake Potrebic 2021-01-04 08:58:50 -08:00 committed by Mariell
parent a62238a998
commit 0c74328e51

44
paper
View File

@ -212,29 +212,33 @@ case "$1" in
echo "'setup' command. View below for details. For essential building and patching, you do not need to do the setup." echo "'setup' command. View below for details. For essential building and patching, you do not need to do the setup."
echo "" echo ""
echo " Normal commands:" echo " Normal commands:"
echo " * rb, rebuild | Rebuild patches, can be called from anywhere." echo " * rb, rebuild | Rebuild patches, can be called from anywhere."
echo " * p, patch | Apply all patches to the project without building it. Can be run from anywhere." echo " * p, patch | Apply all patches to the project without building it. Can be run from anywhere."
echo " * j, jar | Apply all patches and build the project, paperclip.jar will be output. Can be run from anywhere." echo " * j, jar | Apply all patches and build the project, paperclip.jar will be output. Can be run from anywhere."
echo " * m, mcdev | Setup decompiled sources for non-modified NMS files to be imported into an IDE. Can be run from anywhere." echo " * i, install | Build and install paper into the local repo. Can be run from anywhere."
echo " * u, up, upstream | Updates the submodules used by Paper to their latest upstream versions." echo " * m, mcdev | Setup decompiled sources for non-modified NMS files to be imported into an IDE. Can be run from anywhere."
echo " * t, testserver | Run the test server with the set of plugins Paper uses as a basis for server tests." echo " * u, up, upstream | Updates the submodules used by Paper to their latest upstream versions."
echo " * upc, upstreamcommit | Creates the correctly-formatted upstream commit after updating upstream."
echo " * c, clean | Removes all generated files, Paper-API, Paper-Server, and work."
echo " * t, testserver | Run the test server with the set of plugins Paper uses as a basis for server tests."
echo " * con, continue | Shortcut command for running git am --continue, or git rebase --continue."
echo "" echo ""
echo " These commands require the setup command before use:" echo " These commands require the setup command before use:"
echo " * r, root | Change directory to the root of the project." echo " * r, root | Change directory to the root of the project."
echo " * a. api | Move to the Paper-API directory." echo " * a. api | Move to the Paper-API directory."
echo " * s, server | Move to the Paper-Server directory." echo " * s, server | Move to the Paper-Server directory."
echo " * td, testdirectory | Move to the test-server directory." echo " * td, testdirectory | Move to the test-server directory."
echo " * e, edit | Use to edit a specific patch, give it the argument \"server\" or \"api\"" echo " * e, edit | Use to edit a specific patch, give it the argument \"server\" or \"api\""
echo " | respectively to edit the correct project. Use the argument \"continue\" after" echo " | respectively to edit the correct project. Use the argument \"continue\" after"
echo " | the changes have been made to finish and rebuild patches. Can be called from anywhere." echo " | the changes have been made to finish and rebuild patches. Can be called from anywhere."
echo "" echo ""
echo " * setup | Add an alias to $RCPATH to allow full functionality of this script. Run as:" echo " * setup | Add an alias to $RCPATH to allow full functionality of this script. Run as:"
echo " | . ./paper setup" echo " | . ./paper setup"
echo " | After you run this command you'll be able to just run 'paper' from anywhere." echo " | After you run this command you'll be able to just run 'paper' from anywhere."
echo " | The default name for the resulting alias is 'paper', you can give an argument to override" echo " | The default name for the resulting alias is 'paper', you can give an argument to override"
echo " | this default, such as:" echo " | this default, such as:"
echo " | . ./paper setup example" echo " | . ./paper setup example"
echo " | Which will allow you to run 'example' instead." echo " | Which will allow you to run 'example' instead."
;; ;;
esac esac