Document all available flags in all of the subcommand synopsis texts.
This commit is contained in:
parent
c49c793a9a
commit
a2e4116333
5 changed files with 10 additions and 21 deletions
|
@ -19,12 +19,12 @@ PREFIX=$(git config --get gitflow.prefix.feature)
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "usage: git flow feature [list] [-v]"
|
echo "usage: git flow feature [list] [-v]"
|
||||||
echo " git flow feature start [-Fv] <name> [<base>]"
|
echo " git flow feature start [-Ff] <name> [<base>]"
|
||||||
echo " git flow feature finish [-rsFv] <name|nameprefix>"
|
echo " git flow feature finish [-rF] <name|nameprefix>"
|
||||||
echo " git flow feature publish <name>"
|
echo " git flow feature publish <name>"
|
||||||
echo " git flow feature track <name>"
|
echo " git flow feature track <name>"
|
||||||
echo " git flow feature diff <name|nameprefix>"
|
echo " git flow feature diff [<name|nameprefix>]"
|
||||||
echo " git flow feature rebase [-i] <name|nameprefix>"
|
echo " git flow feature rebase [-i] [<name|nameprefix>]"
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd_default() {
|
cmd_default() {
|
||||||
|
|
|
@ -20,8 +20,8 @@ PREFIX=$(git config --get gitflow.prefix.hotfix)
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "usage: git flow hotfix [list] [-v]"
|
echo "usage: git flow hotfix [list] [-v]"
|
||||||
echo " git flow hotfix start <version> [<base>]"
|
echo " git flow hotfix start [-F] <version> [<base>]"
|
||||||
echo " git flow hotfix finish <version>"
|
echo " git flow hotfix finish [-Fsump] <version>"
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd_default() {
|
cmd_default() {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "usage: git flow init"
|
echo "usage: git flow init [-f]"
|
||||||
}
|
}
|
||||||
|
|
||||||
parse_args() {
|
parse_args() {
|
||||||
|
|
|
@ -20,19 +20,8 @@ PREFIX=$(git config --get gitflow.prefix.release)
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "usage: git flow release [list] [-v]"
|
echo "usage: git flow release [list] [-v]"
|
||||||
echo " git flow release start <version>"
|
echo " git flow release start [-F] <version>"
|
||||||
echo " git flow release finish <version>"
|
echo " git flow release finish [-Fsump] <version>"
|
||||||
# TODO
|
|
||||||
#echo ""
|
|
||||||
#echo "options:"
|
|
||||||
#echo "--option Explanation"
|
|
||||||
#echo ""
|
|
||||||
#echo "start-only options:"
|
|
||||||
#echo "--bump <script>"
|
|
||||||
#echo " Run the given script to auto-update the version number"
|
|
||||||
#echo ""
|
|
||||||
#echo "finish-only options:"
|
|
||||||
#echo "--push Push to the origin repo when finished"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd_default() {
|
cmd_default() {
|
||||||
|
|
|
@ -23,7 +23,7 @@ warn "note: DO NOT use it in a production situation."
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "usage: git flow support [list] [-v]"
|
echo "usage: git flow support [list] [-v]"
|
||||||
echo " git flow support start <version> <base>"
|
echo " git flow support start [-F] <version> <base>"
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd_default() {
|
cmd_default() {
|
||||||
|
|
Loading…
Reference in a new issue