mirror of
https://github.com/containers/podman.git
synced 2025-06-22 18:08:11 +08:00
Fix cut and paste errors in podman-pod-inspect
Help information and errors should refer to pod inspection, not container and image inspection. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -14,7 +14,7 @@ var (
|
||||
podInspectCommand cliconfig.PodInspectValues
|
||||
podInspectDescription = `Display the configuration for a pod by name or id
|
||||
|
||||
By default, this will render all results in a JSON array. If the container and image have the same name, this command returns the container JSON.`
|
||||
By default, this will render all results in a JSON array.`
|
||||
|
||||
_podInspectCommand = &cobra.Command{
|
||||
Use: "inspect [flags] POD",
|
||||
@ -34,7 +34,7 @@ func init() {
|
||||
podInspectCommand.SetHelpTemplate(HelpTemplate())
|
||||
podInspectCommand.SetUsageTemplate(UsageTemplate())
|
||||
flags := podInspectCommand.Flags()
|
||||
flags.BoolVarP(&podInspectCommand.Latest, "latest", "l", false, "Act on the latest container podman is aware of")
|
||||
flags.BoolVarP(&podInspectCommand.Latest, "latest", "l", false, "Act on the latest pod podman is aware of")
|
||||
|
||||
markFlagHiddenForRemoteClient("latest", flags)
|
||||
}
|
||||
|
Reference in New Issue
Block a user