mirror of
https://github.com/nushell/nushell.git
synced 2024-11-24 17:34:00 +01:00
Fix example wording in seq date
(#12665)
# Description The previous messages said that the command printed dates separated by newlines. But the current iteration of `seq date` returns a list. # User-Facing Changes Minor wording edit. --------- Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
This commit is contained in:
parent
1239e86320
commit
2466a39574
@ -56,22 +56,23 @@ impl Command for SeqDate {
|
||||
fn examples(&self) -> Vec<Example> {
|
||||
vec![
|
||||
Example {
|
||||
description: "print the next 10 days in YYYY-MM-DD format with newline separator",
|
||||
description: "Return a list of the next 10 days in the YYYY-MM-DD format",
|
||||
example: "seq date --days 10",
|
||||
result: None,
|
||||
},
|
||||
Example {
|
||||
description: "print the previous 10 days in YYYY-MM-DD format with newline separator",
|
||||
description: "Return the previous 10 days in the YYYY-MM-DD format",
|
||||
example: "seq date --days 10 --reverse",
|
||||
result: None,
|
||||
},
|
||||
Example {
|
||||
description: "print the previous 10 days starting today in MM/DD/YYYY format with newline separator",
|
||||
description:
|
||||
"Return the previous 10 days, starting today, in the MM/DD/YYYY format",
|
||||
example: "seq date --days 10 -o '%m/%d/%Y' --reverse",
|
||||
result: None,
|
||||
},
|
||||
Example {
|
||||
description: "print the first 10 days in January, 2020",
|
||||
description: "Return the first 10 days in January, 2020",
|
||||
example: "seq date --begin-date '2020-01-01' --end-date '2020-01-10'",
|
||||
result: Some(Value::list(
|
||||
vec![
|
||||
|
Loading…
Reference in New Issue
Block a user