From: Mike Frysinger Date: Thu, 17 Dec 2015 15:14:07 +0000 (-0500) Subject: vcs-url: fix git arg X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=02b192cab6ff11126a487e9751cb569016b05c13;p=home.git vcs-url: fix git arg --- diff --git a/.bin/vcs-url b/.bin/vcs-url index ccda748..0bbbcf5 100755 --- a/.bin/vcs-url +++ b/.bin/vcs-url @@ -60,7 +60,7 @@ cvs_url() { } git_url() { - [[ $# -ne 0 ]] && err "no args supported" + [[ $# -gt 1 ]] && err "accepted args: " local repo url local remote=$(git config remote.origin.url)