mirror of
https://github.com/nushell/nushell.git
synced 2025-05-20 01:40:47 +02:00
#15499 reminds me of the discrepancies between lsp hover docs and `--help` outputs. # Description # User-Facing Changes Before: <img width="610" alt="image" src="https://github.com/user-attachments/assets/f73f7ace-5c1b-4380-9921-fb4783bdb187" /> After: <img width="610" alt="image" src="https://github.com/user-attachments/assets/96de3ffe-e37b-41b1-88bb-123eeb72ced2" /> Output of `if -h` as a reference: ``` Usage: > if <cond> <then_block> (else <else_expression>) Flags: -h, --help: Display the help message for this command Parameters: cond <variable>: Condition to check. then_block <block>: Block to run if check succeeds. "else" + <one_of(block, expression)>: Expression or block to run when the condition is false. (optional) ``` # Tests + Formatting Refined # After Submitting |
||
---|---|---|
.. | ||
ast.rs | ||
completion.rs | ||
diagnostics.rs | ||
goto.rs | ||
hints.rs | ||
hover.rs | ||
lib.rs | ||
notification.rs | ||
semantic_tokens.rs | ||
signature.rs | ||
symbols.rs | ||
workspace.rs |