waf / CSharpRepl

A command line C# REPL with syntax highlighting – explore the language, libraries and nuget packages interactively.
https://fuqua.io/CSharpRepl/
Mozilla Public License 2.0
2.76k stars 106 forks source link

Define what are `<key-bindings>` under `csharprepl -h` #363

Open matheusanmo opened 3 months ago

matheusanmo commented 3 months ago

Feature Description

Under the Key Bindings section of csharprepl -h option arguments are described as <key-binding>, but there's no explanation on what are those. I was able to find under CSharpRepl.Services/Configuration.cs line 185 a variable declaration:

const string GeneralInfo = "Key pattern must contain one key with optional modifiers (Alt/Shift/Control). E.g. 'Enter', 'Control+A', '(', 'Alt+.', ...";

that explains very nicely what a <key-binding> is. I believe this information should also be on csharprepl -h.