mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
committed by
GitHub
parent
513186c390
commit
baa50ec9b2
@ -120,7 +120,7 @@ impl Command for SubCommand {
|
||||
result: Some(Value::duration(1_234_567, span)),
|
||||
},
|
||||
Example {
|
||||
description: "Convert a number of an arbitraty unit to duration",
|
||||
description: "Convert a number of an arbitrary unit to duration",
|
||||
example: "1_234 | into duration --unit ms",
|
||||
result: Some(Value::duration(1_234 * 1_000_000, span)),
|
||||
},
|
||||
|
Reference in New Issue
Block a user