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 | |
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')
-rw-r--r-- | bash/bashrc.d/keep.bash | 2 | ||||
-rw-r--r-- | bash/bashrc.d/vared.bash | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc.d/keep.bash b/bash/bashrc.d/keep.bash index a8c3456a..85455824 100644 --- a/bash/bashrc.d/keep.bash +++ b/bash/bashrc.d/keep.bash @@ -124,7 +124,7 @@ EOF # Deleting is an error, since we need at least one argument if ((delete)) ; then - printf 'bash: %s: must specify at least one NAME to delete\n' + printf 'bash: %s: must specify at least one NAME to delete\n' \ "${FUNCNAME[0]}" >&2 return 2 fi 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 ;; |