summaryrefslogtreecommitdiff
path: root/completions/shellcheck
diff options
context:
space:
mode:
Diffstat (limited to 'completions/shellcheck')
-rw-r--r--completions/shellcheck14
1 files changed, 13 insertions, 1 deletions
diff --git a/completions/shellcheck b/completions/shellcheck
index 197c1811..4a40c8f9 100644
--- a/completions/shellcheck
+++ b/completions/shellcheck
@@ -16,7 +16,7 @@ _shellcheck()
--version|-!(-*)V*)
return
;;
- --exclude|-!(-*)e)
+ --exclude|--include|-!(-*)[ei])
return
;;
--format|-!(-*)f)
@@ -34,6 +34,18 @@ _shellcheck()
_shellcheck_optarg "$1" --shell
return
;;
+ --enable|-!(-*)o)
+ COMPREPLY=( $(compgen -W 'all' -- "$cur") ) # TODO others?
+ return
+ ;;
+ --source-path|-!(-*)P)
+ _filedir -d
+ COMPREPLY+=( $(compgen -W 'SCRIPTDIR' -- "$cur") )
+ return
+ ;;
+ --wiki-link-count|-!(-*)W)
+ return
+ ;;
esac
$split && return