summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-02-15 13:53:13 -0800
committerBryan Newbold <bnewbold@archive.org>2021-02-15 13:53:13 -0800
commit16ffc02de4e90a2969e8e9ae7942ee16bccb4bc6 (patch)
tree299804058c1c9d804a7c454da901bec154215df6
parent268d04a68fbf8a5741b9a761c8d6b8111e454758 (diff)
downloadfatcat-cli-16ffc02de4e90a2969e8e9ae7942ee16bccb4bc6.tar.gz
fatcat-cli-16ffc02de4e90a2969e8e9ae7942ee16bccb4bc6.zip
update shell copmletions
-rw-r--r--extra/fatcat-cli.bash_completions6
-rw-r--r--extra/fatcat-cli.zsh_completions6
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