summaryrefslogtreecommitdiff
path: root/cmd/podman/inspect.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/inspect.go')
-rw-r--r--cmd/podman/inspect.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/podman/inspect.go b/cmd/podman/inspect.go
index a36f8c7a1..f4c460777 100644
--- a/cmd/podman/inspect.go
+++ b/cmd/podman/inspect.go
@@ -38,12 +38,13 @@ var (
}
inspectDescription = "This displays the low-level information on containers and images identified 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 will return container JSON for unspecified type."
inspectCommand = cli.Command{
- Name: "inspect",
- Usage: "Displays the configuration of a container or image",
- Description: inspectDescription,
- Flags: inspectFlags,
- Action: inspectCmd,
- ArgsUsage: "CONTAINER-OR-IMAGE [CONTAINER-OR-IMAGE]...",
+ Name: "inspect",
+ Usage: "Displays the configuration of a container or image",
+ Description: inspectDescription,
+ Flags: inspectFlags,
+ Action: inspectCmd,
+ ArgsUsage: "CONTAINER-OR-IMAGE [CONTAINER-OR-IMAGE]...",
+ OnUsageError: usageErrorHandler,
}
)