From 9097e865ca91ceb6bf05f3e6f47777dc2cf23689 Mon Sep 17 00:00:00 2001 From: Justin Ma Date: Mon, 25 Jul 2022 20:07:26 +0800 Subject: [PATCH] fix typo of `port` command (#6120) --- crates/nu-command/src/network/port.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, },