diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/fatcat-cli.bash_completions | 6 | ||||
-rw-r--r-- | extra/fatcat-cli.zsh_completions | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/extra/fatcat-cli.bash_completions b/extra/fatcat-cli.bash_completions index 780768d..c357a09 100644 --- a/extra/fatcat-cli.bash_completions +++ b/extra/fatcat-cli.bash_completions @@ -106,7 +106,7 @@ _fatcat-cli() { ;; fatcat__cli__batch) - opts=" -h -V -v -i --help --version --verbose --input-file --limit --api-host --api-token --search-host create update delete download help" + opts=" -h -V -v -i -n --help --version --verbose --input-file --limit --api-host --api-token --search-host create update delete download help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -125,6 +125,10 @@ _fatcat-cli() { COMPREPLY=($(compgen -f "${cur}")) return 0 ;; + -n) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; --api-host) COMPREPLY=($(compgen -f "${cur}")) return 0 diff --git a/extra/fatcat-cli.zsh_completions b/extra/fatcat-cli.zsh_completions index 780768d..c357a09 100644 --- a/extra/fatcat-cli.zsh_completions +++ b/extra/fatcat-cli.zsh_completions @@ -106,7 +106,7 @@ _fatcat-cli() { ;; fatcat__cli__batch) - opts=" -h -V -v -i --help --version --verbose --input-file --limit --api-host --api-token --search-host create update delete download help" + opts=" -h -V -v -i -n --help --version --verbose --input-file --limit --api-host --api-token --search-host create update delete download help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -125,6 +125,10 @@ _fatcat-cli() { COMPREPLY=($(compgen -f "${cur}")) return 0 ;; + -n) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; --api-host) COMPREPLY=($(compgen -f "${cur}")) return 0 |