mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 02:13:47 +01:00
fix typo of port
command (#6120)
This commit is contained in:
parent
894d3e7452
commit
9097e865ca
@ -17,7 +17,7 @@ impl Command for SubCommand {
|
||||
}
|
||||
|
||||
fn signature(&self) -> Signature {
|
||||
Signature::build("post")
|
||||
Signature::build("port")
|
||||
.optional(
|
||||
"start",
|
||||
SyntaxShape::Int,
|
||||
@ -48,7 +48,7 @@ impl Command for SubCommand {
|
||||
fn examples(&self) -> Vec<Example> {
|
||||
vec![
|
||||
Example {
|
||||
description: "get free port between 3121 and 4000",
|
||||
description: "get a free port between 3121 and 4000",
|
||||
example: "port 3121 4000",
|
||||
result: Some(Value::Int {
|
||||
val: 3121,
|
||||
@ -56,7 +56,7 @@ impl Command for SubCommand {
|
||||
}),
|
||||
},
|
||||
Example {
|
||||
description: "get free port from system",
|
||||
description: "get a free port from system",
|
||||
example: "port",
|
||||
result: None,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user