From 16ffc02de4e90a2969e8e9ae7942ee16bccb4bc6 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 15 Feb 2021 13:53:13 -0800 Subject: update shell copmletions --- extra/fatcat-cli.bash_completions | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'extra/fatcat-cli.bash_completions') 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 -- cgit v1.2.3