diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-21 17:10:45 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-21 17:10:45 +1300 |
commit | 8032ac8c1b7e0dd15fe0954fab3d59dd4c1f0244 (patch) | |
tree | 0c69febad80e646999a62ed5945e0e5a6633d5fd /bash/bashrc.d/vared.bash | |
parent | Use clearer logic for prompt color setting (diff) | |
download | dotfiles-8032ac8c1b7e0dd15fe0954fab3d59dd4c1f0244.tar.gz dotfiles-8032ac8c1b7e0dd15fe0954fab3d59dd4c1f0244.zip |
Fix printf argument mismatch bugs
What did we do before ShellCheck?
Diffstat (limited to 'bash/bashrc.d/vared.bash')
-rw-r--r-- | bash/bashrc.d/vared.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/vared.bash b/bash/bashrc.d/vared.bash index 14958ffb..9159485b 100644 --- a/bash/bashrc.d/vared.bash +++ b/bash/bashrc.d/vared.bash @@ -11,7 +11,7 @@ vared() { prompt=$OPTARG ;; \?) - printf 'bash: %s: -%s: invalid option\n' + printf 'bash: %s: -%s: invalid option\n' \ "${FUNCNAME[0]}" "$opt" >&2 return 2 ;; |