diff --git a/crates/nu-command/src/network/port.rs b/crates/nu-command/src/network/port.rs index 3b38988f53..e3ed51796f 100644 --- a/crates/nu-command/src/network/port.rs +++ b/crates/nu-command/src/network/port.rs @@ -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 { 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, },