completions/complete: add --escape

This commit is contained in:
Johannes Altmanninger 2024-04-20 09:50:10 +02:00
parent 24e4fdd695
commit 334946af61

View file

@ -15,6 +15,7 @@ complete -c complete -s d -l description -d "Description of completion" -x
complete -c complete -s e -l erase -d "Remove completion" complete -c complete -s e -l erase -d "Remove completion"
complete -c complete -s h -l help -d "Display help and exit" complete -c complete -s h -l help -d "Display help and exit"
complete -c complete -s C -l do-complete -d "Print completions for a commandline specified as a parameter" complete -c complete -s C -l do-complete -d "Print completions for a commandline specified as a parameter"
complete -c complete -l escape -d "Make -C escape special characters"
complete -c complete -s n -l condition -d "Completion only used if command has zero exit status" -x complete -c complete -s n -l condition -d "Completion only used if command has zero exit status" -x
complete -c complete -s w -l wraps -d "Inherit completions from specified command" -xa '(__fish_complete_command)' complete -c complete -s w -l wraps -d "Inherit completions from specified command" -xa '(__fish_complete_command)'
complete -c complete -s k -l keep-order -d "Keep order of arguments instead of sorting alphabetically" complete -c complete -s k -l keep-order -d "Keep order of arguments instead of sorting alphabetically"