fix(completion): remove mnemonics

This commit is contained in:
EmilyGraceSeville7cf 2024-09-30 00:29:12 +10:00
parent efade08459
commit 3525b20c03
3 changed files with 9 additions and 9 deletions

View file

@ -17,7 +17,7 @@ complete -c $command \
set -l subcommands_without_help $subcommands[1..-2]
complete -c $command -s s -F -r \
-d 'The [s]chema used for a validation' \
-d 'The schema used for a validation' \
-n "__fish_seen_subcommand_from $subcommands_without_help"
complete -c $command -s d -F -r \

View file

@ -2,24 +2,24 @@ set -l command boon
complete -c $command -f
complete -c $command -s h -l help -d 'Show [h]elp'
complete -c $command -s h -l help -d 'Show help'
complete -c $command -s q -l quiet -d 'Do not show errors for validated files'
complete -c $command \
-a '2020\tdefault 4 6 7 2019' \
-s d -l draft -x \
-d 'Specify the [d]raft used for a schema'
-d 'Specify the draft used for a schema'
complete -c $command \
-a 'simple\tdefault alt flag basic detailed' \
-s o -l output -x \
-d 'Specify the [o]utput format for messages'
-d 'Specify the output format for messages'
complete -c $command -s f -l assert-format \
-d 'Enable the [f]ormat assertions for validated files'
-d 'Enable the format assertions for validated files'
complete -c $command -s c -l assert-content \
-d 'Enable the [c]ontent assertions for validated files'
-d 'Enable the content assertions for validated files'
complete -c $command -l cacert -F -r \
-d 'Specify the PEM certificate file for a peer'

View file

@ -1,7 +1,7 @@
set -l command json_schemer
complete -c $command -s h -l help -d 'Show [h]elp'
complete -c $command -s v -l version -d 'Show [v]ersion'
complete -c $command -s h -l help -d 'Show help'
complete -c $command -s v -l version -d 'Show version'
complete -c $command -s e -l errors -x \
-d 'Specify the maximum number of [e]rrors for validated files'
-d 'Specify the maximum number of errors for validated files'