diff options
| author | Malf Furious <m@lfurio.us> | 2017-08-29 03:05:34 -0400 |
|---|---|---|
| committer | Malf Furious <m@lfurio.us> | 2017-08-29 03:05:34 -0400 |
| commit | 5685ffd3773d987aca36b6f6be3e2bab88598a92 (patch) | |
| tree | 60eaa2595931713578e6b07977834378f2139246 | |
| parent | 52cf1a3c3e8a0830816ed3d8b3648e112d0d97c2 (diff) | |
| download | systrunk-5685ffd3773d987aca36b6f6be3e2bab88598a92.tar.gz systrunk-5685ffd3773d987aca36b6f6be3e2bab88598a92.zip | |
Fix err message in main()
$1 goes out of scope (kind of) should use $cmd to reference the command
name when displaying it in the error message.
Diffstat (limited to '')
| -rw-r--r-- | main.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ function main elif [[ "$cmd" == "tag" ]]; then systr_repo_tag "$@" else - echo "Fatal: $1 not recognized" + echo "Fatal: $cmd not recognized" fi } |
