Minor polish in logs and help text
This commit is contained in:
parent
1d8f5a16dd
commit
20e72f0ded
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user