nushell/tests
zc he 41f4d0dcbc
refactor(lsp): align markdown doc string with output of --help (#15508)
#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
2025-04-06 08:37:59 -05:00
..
assets/nu_json Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
const_ feat(overlay): expose constants with overlay use (#15081) 2025-02-13 18:55:03 +08:00
eval Fix to nuon --serialize of closure (#15357) 2025-03-20 17:50:36 +01:00
fixtures refactor(lsp): align markdown doc string with output of --help (#15508) 2025-04-06 08:37:59 -05:00
hooks Make Hooks fields non-optional to match the new config defaults (#14345) 2024-11-29 21:11:09 +00:00
modules don't include import path in args to aliased external commands (#14231) 2024-11-06 07:40:29 -06:00
overlays fix $env.FILE_PWD and $env.CURRENT_FILE inside overlay use (#15126) 2025-03-05 21:13:44 +02:00
parsing Avoid taking unnecessary ownership of intermediates (#12740) 2024-05-04 00:53:15 +00:00
path Avoid taking unnecessary ownership of intermediates (#12740) 2024-05-04 00:53:15 +00:00
plugin_persistence Make plugin list read state from plugin registry file as well (#14085) 2024-10-20 23:12:57 +02:00
plugins Fix unstable test case: One time my windows report drive letter as lowercase (#14451) 2024-11-27 06:27:06 -06:00
repl bump the rust toolchain to 1.83.0 (#15148) 2025-02-20 16:34:09 -06:00
scope Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
shell Ignore problematic overlapping tests for SHLVL (#15430) 2025-03-27 14:47:43 -04:00
main.rs Merged tests to produce a single binary (#12826) 2024-05-13 13:37:53 +00:00