diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 098851d..a2b96b5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,10 +13,12 @@ concurrency: cancel-in-progress: true jobs: + #fixme: it seems like syntax tests always pass? syntax_tests: name: Syntax tests runs-on: "ubuntu-latest" timeout-minutes: 10 + if: "! startsWith(github.event.pull_request.title, 'Scope names:')" steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 @@ -39,6 +41,7 @@ jobs: name: Highlight regression tests runs-on: "ubuntu-latest" timeout-minutes: 10 + if: "! startsWith(github.event.pull_request.title, 'Scope names:')" steps: - uses: actions/checkout@v3 - name: Run highlight regression tests diff --git a/docs/Principles.md b/docs/Principles.md index ddd1022..e376d50 100644 --- a/docs/Principles.md +++ b/docs/Principles.md @@ -51,16 +51,20 @@ scope_variables: Just know that [there's a convention for scope names](https://www.sublimetext.com/docs/scope_naming.html), and syntax themes target those names. -### Constraint on Monokai +### Constraints on Monokai -There is a constraint I would like to preserve. +There are a couple of constraints I would like to preserve. -The help messages generated with the `clap` Rust library were the original inspiration for this project. -They paint **headings in yellow and option definitions in green.** +The help messages generated with the `clap` Rust library were the original inspiration for this project\*. +They painted **headings in yellow\*\* and option definitions in green.** I'd like those two properties to hold for the default Monokai theme. -Everything else is fair game. And even that constraint is bound to drop if you make a compelling case otherwise. +Everything else is fair game. Even that constraint is bound to drop if you make a compelling case otherwise. + +\* Before clap v4, which ditched colors for style (bold, underlined) in help messages. + +\*\* In the theme I use in my terminal (srcery), yellow means golden. So favor e.g. golden orange over pale yellow. ## Coding style diff --git a/scripts/env.sh b/scripts/env.sh index 5acd342..647395a 100644 --- a/scripts/env.sh +++ b/scripts/env.sh @@ -9,7 +9,10 @@ function gdiffs { # to exclude e.g. THEME-italics, do: # gdiff -- ":^*-italics*" -alias gshow='GIT_PAGER="LESS=R less" git diff HEAD^ HEAD -- tests/{highlighted,theme}' +function gshow { + GIT_PAGER="LESS=R less" git show "$@" -- tests/{highlighted,theme} +} + alias git0='GIT_CONFIG=/dev/null git' debug() { diff --git a/syntaxes/cmd-help.sublime-syntax b/syntaxes/cmd-help.sublime-syntax index 3fade1a..668bb71 100644 --- a/syntaxes/cmd-help.sublime-syntax +++ b/syntaxes/cmd-help.sublime-syntax @@ -46,36 +46,41 @@ variables: scope_variables: # last scope is matched first - &SECTION_HEADING_SCOPES - constant.section-heading.cmd-help string.section-heading.cmd-help - markup.heading.cmd-help entity.name.section.cmd-help + constant.section-heading.cmd-help + markup.heading.cmd-help + string.section-heading.cmd-help + meta.constructor.argument.css.section-heading.cmd-help - &INLINE_USAGE_SCOPES - constant.section-heading.cmd-help string.inline-usage.cmd-help - markup.heading.inline-usage.cmd-help entity.name.section.inline-usage.cmd-help + constant.section-heading.inline-usage.cmd-help + markup.heading.inline-usage.cmd-help + string.section-heading.inline-usage.cmd-help + meta.constructor.argument.css.section-heading.inline-usage.cmd-help - &OPTION_DEF_SCOPES entity.name.function.option.cmd-help - &PLUS_OPTION_DEF_SCOPES entity.name.function.option.plus.cmd-help + - &END_OF_OPTIONS_SCOPE + constant.other.end-of-options.cmd-help + - &OPTION_ARGUMENT_SCOPES - string.option-argument.cmd-help variable.other.option-argument.cmd-help - variable.parameter.option-argument.cmd-help - - # argument definitions (99% confidence) - - &ARGUMENT_DEF_SCOPES # =~ option argument - string.argument.cmd-help variable.other.argument.cmd-help - variable.parameter.argument.cmd-help - # mostly all-caps definitions. usually environment variables or arguments - - &OTHER_VAL_DEF_SCOPES # =~ option argument - string.other-value.cmd-help variable.other.other-value.cmd-help - variable.parameter.other-value.cmd-help + entity.name.function.option.cmd-help + keyword.other.argument.cmd-help + # argument definitions (99% confidence) =~ OPTION_ARGUMENT + - &ARGUMENT_DEF_SCOPES + keyword.other.argument.cmd-help + # mostly all-caps definitions. usually envs or args =~ OPTION_ARGUMENT + - &OTHER_VAL_DEF_SCOPES + keyword.other.value.cmd-help # non all-caps definitions: subcommands, argument enums, etc. - &OTHER_DEF_SCOPES - keyword.other.def.cmd-help # support.function variable.function ? + constant.other.def.cmd-help - &FILE_DEF_SCOPES - constant.file.cmd-help - # variable.other.readwrite.file.cmd-help string.file.cmd-help + constant.character.escape.file.cmd-help + variable.parameter.file.cmd-help + meta.function.block.start.handlebars.file.cmd-help contexts: @@ -123,8 +128,8 @@ contexts: - match: '' pop: true - de-scope-match: - - clear_scopes: 1 + de-scope-option-arg: + - clear_scopes: 2 - include: then-pop sink: @@ -196,7 +201,7 @@ contexts: option-def-specials: - match: --(?=\s) - scope: keyword.control.end-of-options.cmd-help + scope: *END_OF_OPTIONS_SCOPE set: then-pop - match: \+(?=[\s<[:alpha:]]) scope: *PLUS_OPTION_DEF_SCOPES @@ -282,7 +287,7 @@ contexts: option-def+square-bracket: - meta_content_scope: *OPTION_ARGUMENT_SCOPES - match: '\|' - push: de-scope-match + push: de-scope-option-arg - match: (?=]) set: - match: ']' @@ -304,7 +309,7 @@ contexts: - meta_content_scope: *OPTION_ARGUMENT_SCOPES # match ',' or '|' - match: ',|\|' - push: de-scope-match + push: de-scope-option-arg - match: (?=}) set: - match: '}' @@ -360,7 +365,7 @@ contexts: - meta_content_scope: *ARGUMENT_DEF_SCOPES # match ',' or '|' - match: ',|\|' - push: de-scope-match + push: de-scope-option-arg - match: (?=}) set: - match: '}' diff --git a/tests/theme/brief-1337.txt b/tests/theme/brief-1337.txt index e121891..4eac2ee 100644 --- a/tests/theme/brief-1337.txt +++ b/tests/theme/brief-1337.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-Coldark-Cold.txt b/tests/theme/brief-Coldark-Cold.txt index 0079d6d..3e27f95 100644 --- a/tests/theme/brief-Coldark-Cold.txt +++ b/tests/theme/brief-Coldark-Cold.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-Coldark-Dark.txt b/tests/theme/brief-Coldark-Dark.txt index d96b997..e41b493 100644 --- a/tests/theme/brief-Coldark-Dark.txt +++ b/tests/theme/brief-Coldark-Dark.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-DarkNeon.txt b/tests/theme/brief-DarkNeon.txt index 76253c8..d572237 100644 --- a/tests/theme/brief-DarkNeon.txt +++ b/tests/theme/brief-DarkNeon.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-Dracula.txt b/tests/theme/brief-Dracula.txt index b4c2fef..86f0c4a 100644 --- a/tests/theme/brief-Dracula.txt +++ b/tests/theme/brief-Dracula.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-GitHub.txt b/tests/theme/brief-GitHub.txt index 5b8bf13..cb154b2 100644 --- a/tests/theme/brief-GitHub.txt +++ b/tests/theme/brief-GitHub.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes path/to/file bla bla bla --- bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-Monokai Extended Bright.txt b/tests/theme/brief-Monokai Extended Bright.txt index aa53d87..02cb113 100644 --- a/tests/theme/brief-Monokai Extended Bright.txt +++ b/tests/theme/brief-Monokai Extended Bright.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-Monokai Extended Light.txt b/tests/theme/brief-Monokai Extended Light.txt index 5e8a412..c1bd4e4 100644 --- a/tests/theme/brief-Monokai Extended Light.txt +++ b/tests/theme/brief-Monokai Extended Light.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-Monokai Extended Origin.txt b/tests/theme/brief-Monokai Extended Origin.txt index aa53d87..b4256db 100644 --- a/tests/theme/brief-Monokai Extended Origin.txt +++ b/tests/theme/brief-Monokai Extended Origin.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-Monokai Extended.txt b/tests/theme/brief-Monokai Extended.txt index aa53d87..96771d6 100644 --- a/tests/theme/brief-Monokai Extended.txt +++ b/tests/theme/brief-Monokai Extended.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-Nord.txt b/tests/theme/brief-Nord.txt index a542328..7885222 100644 --- a/tests/theme/brief-Nord.txt +++ b/tests/theme/brief-Nord.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes path/to/file bla bla bla --- bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-OneHalfDark.txt b/tests/theme/brief-OneHalfDark.txt index d2e67a6..c9f4d6a 100644 --- a/tests/theme/brief-OneHalfDark.txt +++ b/tests/theme/brief-OneHalfDark.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-OneHalfLight.txt b/tests/theme/brief-OneHalfLight.txt index dbb36d6..092af92 100644 --- a/tests/theme/brief-OneHalfLight.txt +++ b/tests/theme/brief-OneHalfLight.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-Solarized (dark).txt b/tests/theme/brief-Solarized (dark).txt index 2ab01e8..5f90db6 100644 --- a/tests/theme/brief-Solarized (dark).txt +++ b/tests/theme/brief-Solarized (dark).txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-Solarized (light).txt b/tests/theme/brief-Solarized (light).txt index a2afa24..ac53739 100644 --- a/tests/theme/brief-Solarized (light).txt +++ b/tests/theme/brief-Solarized (light).txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-Sublime Snazzy.txt b/tests/theme/brief-Sublime Snazzy.txt index 5eb2dc7..76547f2 100644 --- a/tests/theme/brief-Sublime Snazzy.txt +++ b/tests/theme/brief-Sublime Snazzy.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-TwoDark.txt b/tests/theme/brief-TwoDark.txt index 8d0f298..bd5eff3 100644 --- a/tests/theme/brief-TwoDark.txt +++ b/tests/theme/brief-TwoDark.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-Visual Studio Dark+.txt b/tests/theme/brief-Visual Studio Dark+.txt index c57e7fc..82d91ad 100644 --- a/tests/theme/brief-Visual Studio Dark+.txt +++ b/tests/theme/brief-Visual Studio Dark+.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-ansi.txt b/tests/theme/brief-ansi.txt index e62d682..01f175e 100644 --- a/tests/theme/brief-ansi.txt +++ b/tests/theme/brief-ansi.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-base16-256.txt b/tests/theme/brief-base16-256.txt index 3a0c2fd..e3418b1 100644 --- a/tests/theme/brief-base16-256.txt +++ b/tests/theme/brief-base16-256.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-base16.txt b/tests/theme/brief-base16.txt index efd8373..e00a60d 100644 --- a/tests/theme/brief-base16.txt +++ b/tests/theme/brief-base16.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support -HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +HEADING: +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-gruvbox-dark.txt b/tests/theme/brief-gruvbox-dark.txt index 85c63e9..ce25cc7 100644 --- a/tests/theme/brief-gruvbox-dark.txt +++ b/tests/theme/brief-gruvbox-dark.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-gruvbox-light.txt b/tests/theme/brief-gruvbox-light.txt index 1eaf28b..dec287c 100644 --- a/tests/theme/brief-gruvbox-light.txt +++ b/tests/theme/brief-gruvbox-light.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/brief-zenburn.txt b/tests/theme/brief-zenburn.txt index 9e3c4e1..3b3d19b 100644 --- a/tests/theme/brief-zenburn.txt +++ b/tests/theme/brief-zenburn.txt @@ -1,8 +1,8 @@ brief: quick reference for theme support HEADING: ---option  bla bla bla -subcommand bla bla bla -ARGUMENT or ENV sometimes -path/to/file bla bla bla --- bla bla bla +--option  bla bla bla +subcommand bla bla bla +ARGUMENT or ENV sometimes +path/to/file bla bla bla +-- bla bla bla diff --git a/tests/theme/synthetic-1337-italics.txt b/tests/theme/synthetic-1337-italics.txt index c400078..7d1a4b8 100644 --- a/tests/theme/synthetic-1337-italics.txt +++ b/tests/theme/synthetic-1337-italics.txt @@ -1,4 +1,4 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-1337.txt b/tests/theme/synthetic-1337.txt index 6465e1f..a4984f5 100644 --- a/tests/theme/synthetic-1337.txt +++ b/tests/theme/synthetic-1337.txt @@ -1,4 +1,4 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Coldark-Cold.txt b/tests/theme/synthetic-Coldark-Cold.txt index f48bee2..76c36c4 100644 --- a/tests/theme/synthetic-Coldark-Cold.txt +++ b/tests/theme/synthetic-Coldark-Cold.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Coldark-Dark.txt b/tests/theme/synthetic-Coldark-Dark.txt index df5ab9d..725b0c0 100644 --- a/tests/theme/synthetic-Coldark-Dark.txt +++ b/tests/theme/synthetic-Coldark-Dark.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-DarkNeon.txt b/tests/theme/synthetic-DarkNeon.txt index 280ded2..8f473c2 100644 --- a/tests/theme/synthetic-DarkNeon.txt +++ b/tests/theme/synthetic-DarkNeon.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Dracula-italics.txt b/tests/theme/synthetic-Dracula-italics.txt index 35bd274..11f2dbb 100644 --- a/tests/theme/synthetic-Dracula-italics.txt +++ b/tests/theme/synthetic-Dracula-italics.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Dracula.txt b/tests/theme/synthetic-Dracula.txt index 593477f..5b3257e 100644 --- a/tests/theme/synthetic-Dracula.txt +++ b/tests/theme/synthetic-Dracula.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-GitHub.txt b/tests/theme/synthetic-GitHub.txt index 4332fc1..ef43a7f 100644 --- a/tests/theme/synthetic-GitHub.txt +++ b/tests/theme/synthetic-GitHub.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output  .jvmopts if this file exists in the current directory, its contents  /etc/sbt/sbtopts if this file exists, it is prepended to the runner args path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Monokai Extended Bright-italics.txt b/tests/theme/synthetic-Monokai Extended Bright-italics.txt index 213b9a8..f82461f 100644 --- a/tests/theme/synthetic-Monokai Extended Bright-italics.txt +++ b/tests/theme/synthetic-Monokai Extended Bright-italics.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Monokai Extended Bright.txt b/tests/theme/synthetic-Monokai Extended Bright.txt index 97d53cd..de5c086 100644 --- a/tests/theme/synthetic-Monokai Extended Bright.txt +++ b/tests/theme/synthetic-Monokai Extended Bright.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Monokai Extended Light-italics.txt b/tests/theme/synthetic-Monokai Extended Light-italics.txt index c09e57c..e99eae0 100644 --- a/tests/theme/synthetic-Monokai Extended Light-italics.txt +++ b/tests/theme/synthetic-Monokai Extended Light-italics.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Monokai Extended Light.txt b/tests/theme/synthetic-Monokai Extended Light.txt index 393a2f7..3b98b02 100644 --- a/tests/theme/synthetic-Monokai Extended Light.txt +++ b/tests/theme/synthetic-Monokai Extended Light.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Monokai Extended Origin-italics.txt b/tests/theme/synthetic-Monokai Extended Origin-italics.txt index 213b9a8..bcd3482 100644 --- a/tests/theme/synthetic-Monokai Extended Origin-italics.txt +++ b/tests/theme/synthetic-Monokai Extended Origin-italics.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Monokai Extended Origin.txt b/tests/theme/synthetic-Monokai Extended Origin.txt index 97d53cd..bfd994d 100644 --- a/tests/theme/synthetic-Monokai Extended Origin.txt +++ b/tests/theme/synthetic-Monokai Extended Origin.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Monokai Extended-italics.txt b/tests/theme/synthetic-Monokai Extended-italics.txt index 213b9a8..8690c71 100644 --- a/tests/theme/synthetic-Monokai Extended-italics.txt +++ b/tests/theme/synthetic-Monokai Extended-italics.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Monokai Extended.txt b/tests/theme/synthetic-Monokai Extended.txt index 97d53cd..ba05b89 100644 --- a/tests/theme/synthetic-Monokai Extended.txt +++ b/tests/theme/synthetic-Monokai Extended.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Nord.txt b/tests/theme/synthetic-Nord.txt index 522d753..812f486 100644 --- a/tests/theme/synthetic-Nord.txt +++ b/tests/theme/synthetic-Nord.txt @@ -1,4 +1,4 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output  .jvmopts if this file exists in the current directory, its contents  /etc/sbt/sbtopts if this file exists, it is prepended to the runner args path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-OneHalfDark.txt b/tests/theme/synthetic-OneHalfDark.txt index 9958dbb..e6cbd47 100644 --- a/tests/theme/synthetic-OneHalfDark.txt +++ b/tests/theme/synthetic-OneHalfDark.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-OneHalfLight.txt b/tests/theme/synthetic-OneHalfLight.txt index 315b511..82183f6 100644 --- a/tests/theme/synthetic-OneHalfLight.txt +++ b/tests/theme/synthetic-OneHalfLight.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Solarized (dark).txt b/tests/theme/synthetic-Solarized (dark).txt index 2df1dd6..419fce3 100644 --- a/tests/theme/synthetic-Solarized (dark).txt +++ b/tests/theme/synthetic-Solarized (dark).txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Solarized (light).txt b/tests/theme/synthetic-Solarized (light).txt index 577f47d..e2639c1 100644 --- a/tests/theme/synthetic-Solarized (light).txt +++ b/tests/theme/synthetic-Solarized (light).txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Sublime Snazzy-italics.txt b/tests/theme/synthetic-Sublime Snazzy-italics.txt index 383f1f4..df42a24 100644 --- a/tests/theme/synthetic-Sublime Snazzy-italics.txt +++ b/tests/theme/synthetic-Sublime Snazzy-italics.txt @@ -1,4 +1,4 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Sublime Snazzy.txt b/tests/theme/synthetic-Sublime Snazzy.txt index 2afcb40..1a24ea4 100644 --- a/tests/theme/synthetic-Sublime Snazzy.txt +++ b/tests/theme/synthetic-Sublime Snazzy.txt @@ -1,4 +1,4 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-TwoDark.txt b/tests/theme/synthetic-TwoDark.txt index ee97c44..ccbe53e 100644 --- a/tests/theme/synthetic-TwoDark.txt +++ b/tests/theme/synthetic-TwoDark.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-Visual Studio Dark+.txt b/tests/theme/synthetic-Visual Studio Dark+.txt index 0319758..e79d234 100644 --- a/tests/theme/synthetic-Visual Studio Dark+.txt +++ b/tests/theme/synthetic-Visual Studio Dark+.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-ansi.txt b/tests/theme/synthetic-ansi.txt index 0ac47bf..ff2c69f 100644 --- a/tests/theme/synthetic-ansi.txt +++ b/tests/theme/synthetic-ansi.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ nor if it begins with lowercase ## OPTION PATTERNS: -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r' --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=] -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument) -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in] -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only} -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file + Start at end of file - + Start at line -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-base16-256.txt b/tests/theme/synthetic-base16-256.txt index 8c386a0..00334c5 100644 --- a/tests/theme/synthetic-base16-256.txt +++ b/tests/theme/synthetic-base16-256.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-base16.txt b/tests/theme/synthetic-base16.txt index 5c389a9..d8a0135 100644 --- a/tests/theme/synthetic-base16.txt +++ b/tests/theme/synthetic-base16.txt @@ -1,19 +1,19 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. ## HEADING PATTERNS: -Selection options -Basic Options: -USAGE: - Finding manual pages: -Auto-correction: -GNU long options: -JIT options (experimental): -Usage: cp [OPTION]... [-T] SOURCE DEST -usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... +Selection options +Basic Options: +USAGE: + Finding manual pages: +Auto-correction: +GNU long options: +JIT options (experimental): +Usage: cp [OPTION]... [-T] SOURCE DEST +usage: /home/user/.pyenv/versions/3.10.0/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... But not if the line is longer than forty chars nor if it begins with lowercase @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-gruvbox-dark.txt b/tests/theme/synthetic-gruvbox-dark.txt index 8b691fd..394a1ca 100644 --- a/tests/theme/synthetic-gruvbox-dark.txt +++ b/tests/theme/synthetic-gruvbox-dark.txt @@ -1,4 +1,4 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-gruvbox-light.txt b/tests/theme/synthetic-gruvbox-light.txt index f68e9c9..97cf994 100644 --- a/tests/theme/synthetic-gruvbox-light.txt +++ b/tests/theme/synthetic-gruvbox-light.txt @@ -1,4 +1,4 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: diff --git a/tests/theme/synthetic-zenburn.txt b/tests/theme/synthetic-zenburn.txt index 2ed175d..21bdeb4 100644 --- a/tests/theme/synthetic-zenburn.txt +++ b/tests/theme/synthetic-zenburn.txt @@ -1,4 +1,4 @@ -synthetic - fake help message for testing theme support +synthetic - fake help message for testing theme support Most of these lines come from actual help messages in tests/source/. @@ -24,89 +24,89 @@ ## OPTION PATTERNS:  -A, --show-all - -l, --language  - -H, --highlight-line ... - --file-name ... - --backup[=CONTROL] make a backup of each existing destination file - --no-preserve=ATTR_LIST don't preserve the specified attributes + -l, --language  + -H, --highlight-line ... + --file-name ... + --backup[=CONTROL] make a backup of each existing destination file + --no-preserve=ATTR_LIST don't preserve the specified attributes  -R, -r, --recursive copy directories recursively - -ilrsD or -c command or -O shopt_option (invocation only) - --alt-svc  Enable alt-svc with this cache file - -b, --cookie  Send cookies from string/file + -ilrsD or -c command or -O shopt_option (invocation only) + --alt-svc  Enable alt-svc with this cache file + -b, --cookie  Send cookies from string/file  --tlsv1.0 Use TLSv1.0 or greater - --label LABEL use LABEL instead of file name and timestamp - --from-file=FILE1 compare FILE1 to all operands; - --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. + --label LABEL use LABEL instead of file name and timestamp + --from-file=FILE1 compare FILE1 to all operands; + --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].  -print-search-dirs Display the directories in the compiler's search path. - -print-file-name= Display the full path to library . - -Wa, Pass comma-separated on to the assembler. + -print-file-name= Display the full path to library . + -Wa, Pass comma-separated on to the assembler. -C --no-color Use a monochrome color scheme - -r load-module Same as `ruby -r' + -r load-module Same as `ruby -r'  --sample-book-mode/--simple-prompt - -D= - -verbose:[class|gc|jni] - -version: - -ea[:...|:] - -agentlib:[=] + -D= + -verbose:[class|gc|jni] + -version: + -ea[:...|:] + -agentlib:[=]  -A --smarthome Enable smart home key --m mod : run library module as a script (terminates option list) - --except [COP1,COP2,...] Exclude the given cop(s). - -P, --[no-]parallel Use available CPUs to execute inspection in - -0[octal] specify record separator (\0, if no argument) +-m mod : run library module as a script (terminates option list) + --except [COP1,COP2,...] Exclude the given cop(s). + -P, --[no-]parallel Use available CPUs to execute inspection in + -0[octal] specify record separator (\0, if no argument)  -Cdirectory cd to directory before executing your script - -e 'command' one line of script. Several -e's allowed. Omit [programfile] - -Eex[:in], --encoding=ex[:in] + -e 'command' one line of script. Several -e's allowed. Omit [programfile] + -Eex[:in], --encoding=ex[:in]  -rlibrary require the library before executing your script - -W[level=2|:category] - --jit-[option] enable JIT with an option (experimental) - --dump={insns|parsetree|...}[,...] - --external-encoding=encoding, --internal-encoding=encoding - --backtrace-limit=num + -W[level=2|:category] + --jit-[option] enable JIT with an option (experimental) + --dump={insns|parsetree|...}[,...] + --external-encoding=encoding, --internal-encoding=encoding + --backtrace-limit=num  -h | --help print this message - --color=auto|always|true|false|never - -w {show,hide,only}, --window {show,hide,only} + --color=auto|always|true|false|never + -w {show,hide,only}, --window {show,hide,only}  -h or --help Print Help (this message) and exit - --display displayname - -t ms, --selectionTimeout ms + --display displayname + -t ms, --selectionTimeout ms  [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files - -- Only file names after this + -- Only file names after this ## ARGUMENT PATTERNS: (collapse with other patterns?) - ... -- : program read from stdin (default; interactive mode if a tty) -arg ...: arguments passed to program in sys.argv[1:] + ... +- : program read from stdin (default; interactive mode if a tty) +arg ...: arguments passed to program in sys.argv[1:] ## OTHER PATTERNS: - commit Record changes to the repository - cache Modify the syntax-definition and theme cache - build, b Compile the current package - list - list packages based on package names - full-upgrade - upgrade the system by removing/installing/upgrading packages - fdatasync physically write output file data before finishing - compose* Docker Compose (Docker Inc., v2.2.3) - did_you_mean did_you_mean (default: enabled) - frozen-string-literal -file : program read from script file - -FILE visit FILE -PYTHONSTARTUP: file executed on interactive startup (no default) - JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" - 'warn' diagnose errors writing to any output - - .jvmopts if this file exists in the current directory, its contents - /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -path/.to/file + commit Record changes to the repository + cache Modify the syntax-definition and theme cache + build, b Compile the current package + list - list packages based on package names + full-upgrade - upgrade the system by removing/installing/upgrading packages + fdatasync physically write output file data before finishing + compose* Docker Compose (Docker Inc., v2.2.3) + did_you_mean did_you_mean (default: enabled) + frozen-string-literal +file : program read from script file + +FILE visit FILE +PYTHONSTARTUP: file executed on interactive startup (no default) + JAVA_OPTS environment variable, if unset uses "-Dfile.encoding=UTF-8" + 'warn' diagnose errors writing to any output + + .jvmopts if this file exists in the current directory, its contents + /etc/sbt/sbtopts if this file exists, it is prepended to the runner args +path/.to/file  + Start at end of file - + Start at line  -+LINE go to line LINE in next FILE -+LINE:COLUMN go to line LINE, column COLUMN, in next FILE + + Start at line  ++LINE go to line LINE in next FILE ++LINE:COLUMN go to line LINE, column COLUMN, in next FILE ## PRE-EXISTING FORMAT: