Don't just take the last argument, take the first.
This patch was originally contributed as a workaround for the cases
where there were flags that took the first argument position. This fix
was just plain wrong and this commit reverts it.
diff --git a/git-flow-hotfix b/git-flow-hotfix
index 545b5e7..5660131 100644
--- a/git-flow-hotfix
+++ b/git-flow-hotfix
@@ -124,7 +124,7 @@
eval set -- "${FLAGS_ARGV}"
# read arguments into global variables
- VERSION=$(last_arg "$@")
+ VERSION=$1
BRANCH=$PREFIX$VERSION
}