From 2517588d7d1bc29529c7447af8dfbb52bb1ffafb Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Sun, 28 Mar 2021 18:41:42 -0500 Subject: [PATCH] update date to-timezone usage (#3223) --- crates/nu-command/src/commands/date/to_timezone.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/crates/nu-command/src/commands/date/to_timezone.rs b/crates/nu-command/src/commands/date/to_timezone.rs index e0da422c6a..fc6cbfce14 100644 --- a/crates/nu-command/src/commands/date/to_timezone.rs +++ b/crates/nu-command/src/commands/date/to_timezone.rs @@ -27,10 +27,11 @@ impl WholeStreamCommand for Date { } fn usage(&self) -> &str { - "Convert a date to a given time zone. - -Use `date list-timezone` to list all supported time zones. - " + "Convert a date to a given time zone." + } + + fn extra_usage(&self) -> &str { + "Use 'date list-timezone' to list all supported time zones." } async fn run(&self, args: CommandArgs) -> Result {