aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-02-21 00:42:39 +0100
committerTeddy Wing2018-02-21 00:42:39 +0100
commitae774af79b17c4369a4ce94ed16a2a4d8a9bb90d (patch)
tree0bd889cb3a4e9e2e36162ae5f3b154e95fda002a
parent66429b4b5d1682c1e4ef4918644d56edda984952 (diff)
downloadgit-branch-list-ae774af79b17c4369a4ce94ed16a2a4d8a9bb90d.tar.bz2
git-branch-list: Update usage to include optional `<branch-name>`
The `save` and `drop` commands both take an optional branch name to operate on.
-rwxr-xr-xgit-branch-list4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-branch-list b/git-branch-list
index 6e4078a..10713df 100755
--- a/git-branch-list
+++ b/git-branch-list
@@ -29,8 +29,8 @@ function initialise_database () {
function print_usage () {
cat 1>&2 <<__EOF__
usage: git branch-list
- or: git branch-list save
- or: git branch-list drop
+ or: git branch-list save [<branch-name>]
+ or: git branch-list drop [<branch-name>]
or: git branch-list ID
__EOF__
}