Skip to content

Commit

Permalink
Document all available flags in all of the subcommand synopsis texts.
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Feb 24, 2010
1 parent c49c793 commit a2e4116
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 21 deletions.
8 changes: 4 additions & 4 deletions git-flow-feature
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions git-flow-hotfix
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion git-flow-init
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#

usage() {
echo "usage: git flow init"
echo "usage: git flow init [-f]"
}

parse_args() {
Expand Down
15 changes: 2 additions & 13 deletions git-flow-release
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion git-flow-support
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit a2e4116

Please sign in to comment.