Merge pull request #9917 from baude/machineconventions

fix machine naming conventions
This commit is contained in:
OpenShift Merge Robot
2021-04-05 22:16:15 +02:00
committed by GitHub
6 changed files with 9 additions and 9 deletions

View File

@ -15,8 +15,8 @@ import (
var (
initCmd = &cobra.Command{
Use: "init [options] [NAME]",
Short: "initialize a vm",
Long: "initialize a virtual machine for Podman to run on. Virtual machines are used to run Podman.",
Short: "Initialize a virtual machine",
Long: "initialize a virtual machine ",
RunE: initMachine,
Args: cobra.MaximumNArgs(1),
Example: `podman machine init myvm`,

View File

@ -28,7 +28,7 @@ var (
Use: "list [options]",
Aliases: []string{"ls"},
Short: "List machines",
Long: "List Podman managed virtual machines.",
Long: "List managed virtual machines.",
RunE: list,
Args: validate.NoArgs,
Example: `podman machine list,

View File

@ -19,7 +19,7 @@ var (
rmCmd = &cobra.Command{
Use: "rm [options] [MACHINE]",
Short: "Remove an existing machine",
Long: "Remove an existing machine ",
Long: "Remove a managed virtual machine ",
RunE: rm,
Args: cobra.MaximumNArgs(1),
Example: `podman machine rm myvm`,

View File

@ -14,11 +14,11 @@ import (
var (
sshCmd = &cobra.Command{
Use: "ssh [NAME] [COMMAND [ARG ...]]",
Short: "SSH into a virtual machine",
Long: "SSH into a virtual machine ",
Short: "SSH into an existing machine",
Long: "SSH into a managed virtual machine ",
RunE: ssh,
Example: `podman machine ssh myvm
podman machine ssh -e myvm echo hello`,
podman machine ssh myvm echo hello`,
ValidArgsFunction: autocompleteMachineSSH,
}
)

View File

@ -14,7 +14,7 @@ var (
startCmd = &cobra.Command{
Use: "start [MACHINE]",
Short: "Start an existing machine",
Long: "Start an existing machine ",
Long: "Start a managed virtual machine ",
RunE: start,
Args: cobra.MaximumNArgs(1),
Example: `podman machine start myvm`,

View File

@ -14,7 +14,7 @@ var (
stopCmd = &cobra.Command{
Use: "stop [MACHINE]",
Short: "Stop an existing machine",
Long: "Stop an existing machine ",
Long: "Stop a managed virtual machine ",
RunE: stop,
Args: cobra.MaximumNArgs(1),
Example: `podman machine stop myvm`,