diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-16 03:46:47 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-16 03:46:47 +0300 |
commit | a6d2aa25a8cc9bae8379afdf1301095505369848 (patch) | |
tree | 82028a537980576b6babf2966852620ea8f1aa8c /update.sh | |
parent | bugfix (diff) | |
download | config-links-a6d2aa25a8cc9bae8379afdf1301095505369848.tar.gz config-links-a6d2aa25a8cc9bae8379afdf1301095505369848.zip |
usage message update
Diffstat (limited to '')
-rwxr-xr-x | update.sh | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -45,7 +45,8 @@ check_symlinks_enabled_cygwin() { # Utility routines -readonly script_argv0="$( printf -- '%q' "${BASH_SOURCE[0]}" )" +script_name="$( basename -- "${BASH_SOURCE[0]}" )" +readonly script_name dump() { local prefix="${FUNCNAME[0]}" @@ -393,9 +394,7 @@ exit_with_usage() { local msg IFS= read -d '' -r msg <<MSG || echo -n "$msg" >&"$destfd" || true -usage: $script_argv0 [-h|--help] [-d|--database PATH] [-s|--shared-dir DIR] [-n|--dry-run] - -parameters: +usage: $script_name [-h|--help] [-d|--database PATH] [-s|--shared-dir DIR] [-n|--dry-run] -h,--help show this message and exit -d,--database set database file path -s,--shared-dir set top-level shared directory path |