260809.8 · aa8dff209a62f5d2d96d41585209fbdaff7d2ce7
updated documentation files
reading declarations
Changes to sh-completion/. All files
@@ -80,12 +80,16 @@ parser:option "-F --reformat" :choices {"allman", "gnu", "google", "horstmann", "java", "kr", "linux", "lisp", "mozilla", "otbs", "pico", "vtk", "ratliff", "stroustrup", "webkit", "whitesmith"} parser:flag "-I --include-style" :description "include style definition in output file"+parser:flag "--indent-guides"+ :description "draw guides in leading whitespace (implies -t 4)" parser:option "-J --line-length" :description "line length before wrapping (see -V, -W)" parser:option "-j --line-number-length" :description "line number width incl. left padding (default: 5)" parser:option "--line-range" :description "output only lines from number <start> to <end>"+parser:option "--skip-leading-cols"+ :description "output the first <num> columns of each line" parser:option "-k --font" :description "set font (specific to output format)" parser:option "-K --font-size"
@@ -4,7 +4,7 @@ _highlight() { args=("${COMP_WORDS[@]}") cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}"- opts="-B --batch-recursive -D --data-dir --config-file -d --outdir -h --help -i --input -o --output -P --progress -q --quiet -S --syntax --syntax-by-name --syntax-supported -v --verbose --force --list-scripts --list-cat --max-size --plug-in --plug-in-param --print-config --print-style --skip --stdout --validate-input --version -O --out-format -c --style-outfile -e --style-infile -f --fragment -F --reformat -I --include-style -J --line-length -j --line-number-length --line-range -k --font -K --font-size -l --line-numbers -m --line-number-start -s --style -t --replace-tabs -T --doc-title -u --encoding -V --wrap-simple -W --wrap --wrap-no-numbers -z --zeroes --isolate --keep-injections --kw-case --no-trailing-nl --no-version-info -a --anchors -y --anchor-prefix -N --anchor-filename -C --print-index -n --ordered-list --class-name --inline-css --enclose-pre -b --babel -r --replace-quotes --beamer --pretty-symbols --page-color -x --page-size --char-styles --height --width --canvas --ls-profile --ls-delay --ls-exec --ls-option --ls-hover --ls-semantic --ls-syntax --ls-syntax-error --ls-workspace --ls-legacy --service-mode"+ opts="-B --batch-recursive -D --data-dir --config-file -d --outdir -h --help -i --input -o --output -P --progress -q --quiet -S --syntax --syntax-by-name --syntax-supported -v --verbose --force --list-scripts --list-cat --max-size --plug-in --plug-in-param --print-config --print-style --skip --stdout --validate-input --version -O --out-format -c --style-outfile -e --style-infile -f --fragment -F --reformat -I --include-style --indent-guides -J --line-length -j --line-number-length --line-range --skip-leading-cols -k --font -K --font-size -l --line-numbers -m --line-number-start -s --style -t --replace-tabs -T --doc-title -u --encoding -V --wrap-simple -W --wrap --wrap-no-numbers -z --zeroes --isolate --keep-injections --kw-case --no-trailing-nl --no-version-info -a --anchors -y --anchor-prefix -N --anchor-filename -C --print-index -n --ordered-list --class-name --inline-css --enclose-pre -b --babel -r --replace-quotes --beamer --pretty-symbols --page-color -x --page-size --char-styles --height --width --canvas --ls-profile --ls-delay --ls-exec --ls-option --ls-hover --ls-semantic --ls-syntax --ls-syntax-error --ls-workspace --ls-legacy --service-mode" case "$prev" in -B|--batch-recursive)@@ -95,6 +95,10 @@ _highlight() { COMPREPLY=($(compgen -f -- "$cur")) return 0 ;;+ --skip-leading-cols)+ COMPREPLY=($(compgen -f -- "$cur"))+ return 0+ ;; -k|--font) COMPREPLY=($(compgen -f -- "$cur")) return 0
@@ -31,9 +31,11 @@ complete -c highlight -s e -l style-infile -r -d 'to be included in style-outfil complete -c highlight -s f -l fragment -d 'omit document header and footer' complete -c highlight -s F -l reformat -xa 'allman gnu google horstmann java kr linux lisp mozilla otbs pico vtk ratliff stroustrup webkit whitesmith' -d 'reformats and indents output in given style' complete -c highlight -s I -l include-style -d 'include style definition in output file'+complete -c highlight -l indent-guides -d 'draw guides in leading whitespace (implies -t 4)' complete -c highlight -s J -l line-length -r -d 'line length before wrapping (see -V, -W)' complete -c highlight -s j -l line-number-length -r -d 'line number width incl' complete -c highlight -l line-range -r -d 'output only lines from number <start> to <end>'+complete -c highlight -l skip-leading-cols -r -d 'output the first <num> columns of each line' complete -c highlight -s k -l font -r -d 'set font (specific to output format)' complete -c highlight -s K -l font-size -d 'set font size (specific to output format)' complete -c highlight -s l -l line-numbers -d 'print line numbers in output file'
@@ -34,9 +34,11 @@ _highlight() { {-f,--fragment}"[omit document header and footer]" {-F,--reformat}"[reformats and indents output in given style]: :(allman gnu google horstmann java kr linux lisp mozilla otbs pico vtk ratliff stroustrup webkit whitesmith)" {-I,--include-style}"[include style definition in output file]"+ "--indent-guides[draw guides in leading whitespace (implies -t 4)]" {-J,--line-length}"[line length before wrapping (see -V, -W)]: :_files" {-j,--line-number-length}"[line number width incl]: :_files" "--line-range[output only lines from number <start> to <end>]: :_files"+ "--skip-leading-cols[output the first <num> columns of each line]: :_files" {-k,--font}"[set font (specific to output format)]: :_files" {-K,--font-size}"[set font size (specific to output format)]: :_files" {-l,--line-numbers}"[print line numbers in output file]"