mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Split unit into duration and filesize (#3453)
This commit is contained in:
@ -26,8 +26,8 @@ impl WholeStreamCommand for Sleep {
|
||||
|
||||
fn signature(&self) -> Signature {
|
||||
Signature::build("sleep")
|
||||
.required("duration", SyntaxShape::Unit, "time to sleep")
|
||||
.rest(SyntaxShape::Unit, "additional time")
|
||||
.required("duration", SyntaxShape::Duration, "time to sleep")
|
||||
.rest(SyntaxShape::Duration, "additional time")
|
||||
}
|
||||
|
||||
fn usage(&self) -> &str {
|
||||
|
Reference in New Issue
Block a user