Document all available flags in all of the subcommand synopsis texts.
diff --git a/git-flow-feature b/git-flow-feature
index aa7632a..d8d4bb7 100644
--- a/git-flow-feature
+++ b/git-flow-feature
@@ -19,12 +19,12 @@
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() {
diff --git a/git-flow-hotfix b/git-flow-hotfix
index 2c0ec45..5866178 100644
--- a/git-flow-hotfix
+++ b/git-flow-hotfix
@@ -20,8 +20,8 @@
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() {
diff --git a/git-flow-init b/git-flow-init
index d533934..ffc9e96 100644
--- a/git-flow-init
+++ b/git-flow-init
@@ -13,7 +13,7 @@
#
usage() {
- echo "usage: git flow init"
+ echo "usage: git flow init [-f]"
}
parse_args() {
diff --git a/git-flow-release b/git-flow-release
index 21ad19a..2a46a7a 100644
--- a/git-flow-release
+++ b/git-flow-release
@@ -20,19 +20,8 @@
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() {
diff --git a/git-flow-support b/git-flow-support
index f3e2eb3..9403c12 100644
--- a/git-flow-support
+++ b/git-flow-support
@@ -23,7 +23,7 @@
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() {