mirror of
https://github.com/nushell/nushell.git
synced 2025-03-29 17:16:49 +01:00
update date to-timezone usage (#3223)
This commit is contained in:
parent
8fc8fc89aa
commit
2517588d7d
@ -27,10 +27,11 @@ impl WholeStreamCommand for Date {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn usage(&self) -> &str {
|
fn usage(&self) -> &str {
|
||||||
"Convert a date to a given time zone.
|
"Convert a date to a given time zone."
|
||||||
|
}
|
||||||
Use `date list-timezone` to list all supported time zones.
|
|
||||||
"
|
fn extra_usage(&self) -> &str {
|
||||||
|
"Use 'date list-timezone' to list all supported time zones."
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
|
async fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
|
||||||
|
Loading…
Reference in New Issue
Block a user