]> git.wh0rd.org - home.git/commitdiff
vcs-url: fix git arg
authorMike Frysinger <vapier@gentoo.org>
Thu, 17 Dec 2015 15:14:07 +0000 (10:14 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Dec 2015 15:14:07 +0000 (10:14 -0500)
.bin/vcs-url

index ccda748a14eb63023f9cb974aa9bb7f2e5790971..0bbbcf50e945323328fc1ae8e6e7d45346b95dd1 100755 (executable)
@@ -60,7 +60,7 @@ cvs_url() {
 }
 
 git_url() {
-       [[ $# -ne 0 ]] && err "no args supported"
+       [[ $# -gt 1 ]] && err "accepted args: <rev>"
 
        local repo url
        local remote=$(git config remote.origin.url)