summaryrefslogtreecommitdiff
path: root/src/gitget/libregit
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-05-25 20:12:34 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-05-25 20:12:34 -0400
commitb247261b96339a59e74c9d705fe06ab38bd9e634 (patch)
treeec44bd3f9a43c62108538ee21deaef30ee7c1850 /src/gitget/libregit
parentde12756765f573b03821b252a47e68a088090eb0 (diff)
touch up usage() text in src/gitget
Diffstat (limited to 'src/gitget/libregit')
-rwxr-xr-xsrc/gitget/libregit7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gitget/libregit b/src/gitget/libregit
index f3bcfd7..41aefc3 100755
--- a/src/gitget/libregit
+++ b/src/gitget/libregit
@@ -20,18 +20,17 @@
. libremessages
usage() {
- print 'Usage: %s repo ref dir' "${0##*/}"
+ print 'Usage: %s REPO REF DIR' "${0##*/}"
print 'A compatability wrapper around `gitget checkout`'
echo
prose "This exists because gitget used to be called libregit, and took
the arguments in this format, and I'm sure there are a few
scripts floating around that use it."
echo
- prose "Clones or pulls from the git URL 'repo', and checks out the git
- ref 'ref' to the directory 'dir'."
+ prose "Clones or pulls from the git URL '<REPO>', and checks out the git
+ ref '<REF>' to the directory '<DIR>'."
}
-
main() {
[[ $# == 3 ]] || { usage >&2; return 1; }
repo=$1