Tidy up a bit.
diff --git a/git-flow-hotfix b/git-flow-hotfix
index fe71fd3..07bee23 100644
--- a/git-flow-hotfix
+++ b/git-flow-hotfix
@@ -194,7 +194,7 @@
DEFINE_string signingkey "" "use the given GPG-key for the digital signature (implies -s)" u
DEFINE_string message "" "use the given tag message" m
DEFINE_boolean push false "push to $ORIGIN after performing finish" p
- DEFINE_boolean keep false 'keep branch after performing finish' k
+ DEFINE_boolean keep false "keep branch after performing finish" k
parse_args "$@"
require_version_arg
@@ -258,9 +258,7 @@
fi
# delete branch
- if flag keep; then
- echo "Keep this branch" > /dev/null
- else
+ if noflag keep; then
git branch -d "$BRANCH"
fi
@@ -280,7 +278,7 @@
echo "- The hotfix was tagged '$VERSION_PREFIX$VERSION'"
echo "- Hotfix branch has been back-merged into '$DEVELOP_BRANCH'"
if flag keep; then
- echo "- Hotfix branch '$BRANCH' has been kept"
+ echo "- Hotfix branch '$BRANCH' is still available"
else
echo "- Hotfix branch '$BRANCH' has been deleted"
fi