removed wrong escaping in completion descriptions

This commit is contained in:
exploide 2020-03-14 10:41:57 +01:00 committed by Johannes Altmanninger
parent db7dfddc3b
commit a2a12ffda2
3 changed files with 4 additions and 5 deletions

View File

@ -7,7 +7,7 @@ complete -c complete -s l -l long-option -d "GNU-style long option to complete"
complete -c complete -s o -l old-option -d "Old style long option to complete" -x
complete -c complete -s f -l no-files -d "Don't use file completion"
complete -c complete -s r -l require-parameter -d "Require parameter"
complete -c complete -s x -l exclusive -d "Require parameter and don\'t use file completion"
complete -c complete -s x -l exclusive -d "Require parameter and don't use file completion"
complete -c complete -s a -l arguments -d "Space-separated list of possible option arguments" -x
complete -c complete -s d -l description -d "Description of completion" -x
complete -c complete -s e -l erase -d "Remove completion"

View File

@ -8,7 +8,7 @@ complete -c mocha -s O -l reporter-options -d "<k=v,k2=v2,...> reporter-specifi
complete -c mocha -s R -l reporter -x -d "specify the reporter to use"
complete -c mocha -s S -l sort -d "sort test files"
complete -c mocha -s b -l bail -d "bail after first test failure"
complete -c mocha -s d -l debug -d "enable node\'s debugger, synonym for node --debug"
complete -c mocha -s d -l debug -d "enable node's debugger, synonym for node --debug"
complete -c mocha -s g -l grep -x -d "only run tests matching <pattern>"
complete -c mocha -s f -l fgrep -x -d "only run tests containing <string>"
complete -c mocha -s g -l expose-gc -d "expose gc extension"
@ -21,7 +21,7 @@ complete -c mocha -s w -l watch -d "watch files for changes"
complete -c mocha -l check-leaks -d "check for global variable leaks"
complete -c mocha -l full-trace -d "display the full stack trace"
complete -c mocha -l compilers -x -d "use the given module(s) to compile files"
complete -c mocha -l debug-brk -d "enable node\'s debugger breaking on thefirst line"
complete -c mocha -l debug-brk -d "enable node's debugger breaking on thefirst line"
complete -c mocha -l globals -x -d "allow the given comma-delimited global[names]"
complete -c mocha -l es_staging -d "enable all staged features"
complete -c mocha -l harmony -d "all node --harmony* flags are available"

View File

@ -27,6 +27,5 @@ complete -c zip -s X -d "Exclude extra file attributes"
complete -c zip -s y -d "Store symbolic links as links"
complete -c zip -s R -d "PKZIP recursion"
complete -c zip -s e -d Encrypt
complete -c zip -s n -r -d "Don\'t compress files with these suffixes"
complete -c zip -s n -r -d "Don't compress files with these suffixes"
complete -c zip -s h -d "Display help and exit"