-function btrc-help {
- btr-banner
- echo
- echo "Usage: $(basename $0) [-hyvq] [<options>] [action] <build>"
- echo
- echo " -h, --help Display this help"
- echo " -y, --yes Always assume yes"
- echo " -v, --verbose Be more verbose"
- echo " -q, --quiet Be more quiet"
- echo
- echo " Options:"
- echo " -D, --directory=<directory>"
- echo " Use this directory as work root"
- echo
- echo " Actions:"
- echo " s[tatus] Show the status of the build"
- echo " r[un] Make a BTR run"
- echo " c[ancel] Cancel any currently running BTR job"
- echo " t[erminate] Terminate the BTR daemon"
- echo
- echo " Arguments:"
- echo " <build> The build id of the \`btrd\` daemon, usually"
- echo " something like \$repository@\$branch[-\$suffix]."
- echo
- exit
-}
-export -f btrc-help
-