Reformat the --help output to fit narrower terminals
Hard coding 'fedora-toolbox' instead of $0 was necessary to get a pleasant layout while keeping the code simple. It's not a big deal because once there's a build system in place most people will type 'fedora-toolbox', instead of the full path to the script.
This commit is contained in:
parent
5739d4b2a9
commit
ef05b5c7c1
1 changed files with 9 additions and 3 deletions
|
@ -179,9 +179,15 @@ exit_if_unrecognized_option()
|
|||
|
||||
usage()
|
||||
{
|
||||
echo "Usage: $0 [--container <name>] [--release <release>] [-v | --verbose] create [--candidate-registry]"
|
||||
echo " or: $0 [--container <name>] [--release <release>] [-v | --verbose] enter"
|
||||
echo " or: $0 --help"
|
||||
echo "Usage: fedora-toolbox [--container <name>]"
|
||||
echo " [--release <release>]"
|
||||
echo " [-v | --verbose]"
|
||||
echo " create [--candidate-registry]"
|
||||
echo " or: fedora-toolbox [--container <name>]"
|
||||
echo " [--release <release>]"
|
||||
echo " [-v | --verbose]"
|
||||
echo " enter"
|
||||
echo " or: fedora-toolbox --help"
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue