Commit a2e41163 authored by Vincent Driessen's avatar Vincent Driessen

Document all available flags in all of the subcommand synopsis texts.

parent c49c793a
......@@ -19,12 +19,12 @@ PREFIX=$(git config --get gitflow.prefix.feature)
usage() {
echo "usage: git flow feature [list] [-v]"
echo " git flow feature start [-Fv] <name> [<base>]"
echo " git flow feature finish [-rsFv] <name|nameprefix>"
echo " git flow feature start [-Ff] <name> [<base>]"
echo " git flow feature finish [-rF] <name|nameprefix>"
echo " git flow feature publish <name>"
echo " git flow feature track <name>"
echo " git flow feature diff <name|nameprefix>"
echo " git flow feature rebase [-i] <name|nameprefix>"
echo " git flow feature diff [<name|nameprefix>]"
echo " git flow feature rebase [-i] [<name|nameprefix>]"
}
cmd_default() {
......
......@@ -20,8 +20,8 @@ PREFIX=$(git config --get gitflow.prefix.hotfix)
usage() {
echo "usage: git flow hotfix [list] [-v]"
echo " git flow hotfix start <version> [<base>]"
echo " git flow hotfix finish <version>"
echo " git flow hotfix start [-F] <version> [<base>]"
echo " git flow hotfix finish [-Fsump] <version>"
}
cmd_default() {
......
......@@ -13,7 +13,7 @@
#
usage() {
echo "usage: git flow init"
echo "usage: git flow init [-f]"
}
parse_args() {
......
......@@ -20,19 +20,8 @@ PREFIX=$(git config --get gitflow.prefix.release)
usage() {
echo "usage: git flow release [list] [-v]"
echo " git flow release start <version>"
echo " git flow release finish <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"
echo " git flow release start [-F] <version>"
echo " git flow release finish [-Fsump] <version>"
}
cmd_default() {
......
......@@ -23,7 +23,7 @@ warn "note: DO NOT use it in a production situation."
usage() {
echo "usage: git flow support [list] [-v]"
echo " git flow support start <version> <base>"
echo " git flow support start [-F] <version> <base>"
}
cmd_default() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment