From 29cb7a825221d7148fef74ac330f0b4c379471e7 Mon Sep 17 00:00:00 2001 From: binary Date: Fri, 19 Feb 2021 18:29:24 +0100 Subject: Log to stderr and precise usage --- git-getall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git-getall') diff --git a/git-getall b/git-getall index 8e55a74..b622551 100755 --- a/git-getall +++ b/git-getall @@ -16,13 +16,13 @@ pattern_before="" 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 } -- cgit v1.2.3