Skip to content

Commit

Permalink
Update completions (#71)
Browse files Browse the repository at this point in the history
Co-authored-by: making <making@users.noreply.github.com>
  • Loading branch information
CI Bot and making authored Jan 29, 2021
1 parent 5075adb commit f49a19d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/completions/bash
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ _rsc() {
return 0
;;
--load)
COMPREPLY=($(compgen -W "file:// https:// http://" -- "${cur}"))
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-l)
COMPREPLY=($(compgen -W "file:// https:// http://" -- "${cur}"))
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--limitRate)
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/completions/fish
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ complete -c rsc -n "__fish_use_subcommand" -l dataMimeType -d 'MimeType for data
complete -c rsc -n "__fish_use_subcommand" -l delayElements -d 'Enable delayElements(delay) in milli seconds' -r
complete -c rsc -n "__fish_use_subcommand" -s h -l help -d 'Print help' -r
complete -c rsc -n "__fish_use_subcommand" -l interactionModel -d 'InteractionModel' -r -f -a "REQUEST_RESPONSE REQUEST_STREAM REQUEST_CHANNEL FIRE_AND_FORGET"
complete -c rsc -n "__fish_use_subcommand" -s l -l load -d 'Load a file as Data. (e.g. ./foo.txt, file:///tmp/foo, https://example.com)' -r -f -a "file:// https:// http://"
complete -c rsc -n "__fish_use_subcommand" -s l -l load -d 'Load a file as Data. (e.g. ./foo.txt, file:///tmp/foo, https://example.com)' -r
complete -c rsc -n "__fish_use_subcommand" -l limitRate -d 'Enable limitRate(rate)' -r
complete -c rsc -n "__fish_use_subcommand" -l log -d 'Enable log()' -r
complete -c rsc -n "__fish_use_subcommand" -s m -l metadata -d 'Metadata (default: )' -r
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/completions/zsh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ _rsc() {
'-h+[Print help]' \
'--help=[Print help]' \
'--interactionModel=[InteractionModel]: :(REQUEST_RESPONSE REQUEST_STREAM REQUEST_CHANNEL FIRE_AND_FORGET)' \
'-l+[Load a file as Data. (e.g. ./foo.txt, file:///tmp/foo, https://example.com)]: :(file:// https:// http://)' \
'--load=[Load a file as Data. (e.g. ./foo.txt, file:///tmp/foo, https://example.com)]: :(file:// https:// http://)' \
'-l+[Load a file as Data. (e.g. ./foo.txt, file:///tmp/foo, https://example.com)]' \
'--load=[Load a file as Data. (e.g. ./foo.txt, file:///tmp/foo, https://example.com)]' \
'--limitRate=[Enable limitRate(rate)]' \
'--log=[Enable log()]' \
'-m+[Metadata (default: )]' \
Expand Down

0 comments on commit f49a19d

Please sign in to comment.