update date to-timezone usage (#3223)

This commit is contained in:
Darren Schroeder 2021-03-28 18:41:42 -05:00 committed by GitHub
parent 8fc8fc89aa
commit 2517588d7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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> {