mirror of
https://github.com/nushell/nushell.git
synced 2025-03-13 15:08:43 +01:00
doc: clarify trailing line ending in 'to json -r' documentation (#15234)
# Description Fixes issue #15215 # User-Facing Changes Change in help msg in "to json" command with -r flag # Tests + Formatting cargo fmt 🆗 # After Submitting Doc for that is generated from code I think, so 🆗
This commit is contained in:
parent
fc72aa6abe
commit
9eaa8908d2
@ -12,7 +12,11 @@ impl Command for ToJson {
|
||||
fn signature(&self) -> Signature {
|
||||
Signature::build("to json")
|
||||
.input_output_types(vec![(Type::Any, Type::String)])
|
||||
.switch("raw", "remove all of the whitespace", Some('r'))
|
||||
.switch(
|
||||
"raw",
|
||||
"remove all of the whitespace and trailing line ending",
|
||||
Some('r'),
|
||||
)
|
||||
.named(
|
||||
"indent",
|
||||
SyntaxShape::Number,
|
||||
|
Loading…
Reference in New Issue
Block a user