diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-15 11:57:02 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-15 12:27:21 +1300 |
commit | 7503a23a550d1fb51998eccacf0c456efa5ae822 (patch) | |
tree | aaab25c095870eff9937209f2d14129ee1b2348a /sh/shrc.d | |
parent | Merge branch 'feature/bin-review' into develop (diff) | |
download | dotfiles-7503a23a550d1fb51998eccacf0c456efa5ae822.tar.gz dotfiles-7503a23a550d1fb51998eccacf0c456efa5ae822.zip |
Explicitly ignore uninteresting tree(1) opts
ShellCheck 0.4.7 complained about this:
In sh/shrc.d/tree.sh line 12:
case $opt in
^-- SC2220: Invalid flags are not handled. Add a *) case.
Diffstat (limited to 'sh/shrc.d')
-rw-r--r-- | sh/shrc.d/tree.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/shrc.d/tree.sh b/sh/shrc.d/tree.sh index ca134fe2..d462f3e1 100644 --- a/sh/shrc.d/tree.sh +++ b/sh/shrc.d/tree.sh @@ -12,6 +12,7 @@ tree() { case $opt in n) n=1 ;; C) C=1 ;; + *) ;; esac done [ -z "$C" ] || exit 0 |