From 20e72f0ded9883cd76872edc8162a957c353799f Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 25 Dec 2018 21:45:06 -0600 Subject: [PATCH] Minor polish in logs and help text --- replicate.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/replicate.sh b/replicate.sh index e4fa790..2a1f79f 100755 --- a/replicate.sh +++ b/replicate.sh @@ -31,10 +31,10 @@ help() { cat << EOF Usage: $name [OPTION] Bootstrap a git repository as a bare repo, also perform some bootstrap tasks. - -d Bootstrap directory. Defaults to ~. - -r Target repository. Defaults to + -d DIRECTORY Bootstrap directory. Defaults to ~. + -r REPOSITORY Target repository. Defaults to gitlab.com/rehashedsalt/home - -l File to log command output to. Defaults to + -l FILE File to log command output to. Defaults to replicate.log EOF } @@ -77,7 +77,6 @@ step_repo_clone() { if ! [ "$error" -eq "0" ]; then log "Failed cloning repository \"$repo\": git returned $error" 2 log "See $logfile for details" - log "Do you have the appropriate permissions? Does the remote host know your key?" return 1 fi }