Permalink
Browse files

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

  • Loading branch information...
1 parent c49c793 commit a2e41163337bcf244619482c87180b181fd31f70 @nvie committed Feb 24, 2010
Showing with 10 additions and 21 deletions.
  1. +4 −4 git-flow-feature
  2. +2 −2 git-flow-hotfix
  3. +1 −1 git-flow-init
  4. +2 −13 git-flow-release
  5. +1 −1 git-flow-support
View
@@ -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() {
View
@@ -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() {
View
@@ -13,7 +13,7 @@
#
usage() {
- echo "usage: git flow init"
+ echo "usage: git flow init [-f]"
}
parse_args() {
View
@@ -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() {
View
@@ -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() {

0 comments on commit a2e4116

Please sign in to comment.