Skip to content

Commit b71ee25

Browse files
authored
Update help text for vm port (#562)
1 parent 88fd6cb commit b71ee25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cli/cmd/vm_port.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ func (r *runners) InitVMPort(parent *cobra.Command) *cobra.Command {
1212
1313
This command provides flexibility for handling ports in various test vms, ensuring efficient management of vm networking settings.`,
1414
Example: `# List all exposed ports in a vm
15-
replicated vm port ls [VM_ID]
15+
replicated vm port ls VM_ID_OR_NAME
1616
1717
# Remove an exposed port from a vm
18-
replicated vm port rm [VM_ID] [PORT]
18+
replicated vm port rm VM_ID_OR_NAME --id PORT_ID
1919
2020
# Expose a new port in a vm
21-
replicated vm port expose [VM_ID] [PORT]`,
21+
replicated vm port expose VM_ID_OR_NAME --port PORT`,
2222
SilenceUsage: true,
2323
Hidden: false,
2424
}

0 commit comments

Comments
 (0)