This website requires JavaScript.
Explore
Help
Sign In
idris-lang
/
Idris2
Watch
1
Star
1
Fork
0
You've already forked Idris2
mirror of
https://github.com/idris-lang/Idris2.git
synced
2024-12-21 02:31:50 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
9931f35b6b
Idris2
/
tests
/
idris2
/
repl001
/
input
4 lines
12 B
Plaintext
Raw
Normal View
History
Unescape
Escape
[ repl ] Add the ability to get detailed help, e.g. `:help :help` (#2722) A common issue for users is that the behaviour of the various repl commands are not documented anywhere despite some of them having complex behaviour (e.g. `:set` which accepts a specific set of options). This implements the ability to call `:?|:h|:help` on repl commands to request detailed help for a specific repl command, while preserving the behaviour that calling the help command without any arguments prints the general help text. Generic help is defined as the first line of the help text. Detailed help is defined as the entire help text. This means that `:help :t`, for example, does not error (there is no detailed help) but instead just prints the single line of help text. * [ repl ] Use unlines for detailed help (see #2087) Ideally, the lines affected should be multiline strings. But for some arcane reason, newlines in those get swallowed in Nix and Windows **CI** only Ô.o This was already documented in issue #2087. * [ new ] --except for golden testing lib To allow CI to pass despite #2087 Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2022-10-21 15:35:33 +03:00
:?
:h
[ tests ] Check REPL help text and module import cmds The help text check is for making sure we update it when modifying things, more than anything else.
2022-10-13 11:30:15 +03:00
:help
Reference in New Issue
Copy Permalink