summaryrefslogtreecommitdiffstats
path: root/git-getall
diff options
context:
space:
mode:
authorbinary <commit@rgoncalves.se>2021-02-19 18:29:24 +0100
committerbinary <commit@rgoncalves.se>2021-02-19 18:29:24 +0100
commit29cb7a825221d7148fef74ac330f0b4c379471e7 (patch)
tree608c36bf29685f600fbbd6b9311c2a6a8b2b999e /git-getall
parentd2c6a6a0edd7a07b2b2a4c497cb03f8f17b74f23 (diff)
downloadscripts-29cb7a825221d7148fef74ac330f0b4c379471e7.tar.gz
Log to stderr and precise usage
Diffstat (limited to 'git-getall')
-rwxr-xr-xgit-getall4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-getall b/git-getall
index 8e55a74..b622551 100755
--- a/git-getall
+++ b/git-getall
@@ -16,13 +16,13 @@ pattern_before="<a class='button' href='"
pattern_after="'>"
log() {
- echo "[#] $@"
+ echo "[${0}] $@" 2>/dev/null
}
usage() {
[[ ! -z ${1} ]] && log "${1}"
cat <<-EOF
- usage: git-dlall [-ud] [-p git_repositories] -l http_url -r git_remote
+ usage: git-dlall [-u user] [-d root directory] [-p git_repositories] -l http_url -r git_remote
EOF
}
remember that computers suck.