summaryrefslogtreecommitdiff
path: root/cmd/podman/umount.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/umount.go')
-rw-r--r--cmd/podman/umount.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/cmd/podman/umount.go b/cmd/podman/umount.go
index 33556b2ea..b6837fb5b 100644
--- a/cmd/podman/umount.go
+++ b/cmd/podman/umount.go
@@ -31,13 +31,14 @@ counter reaches zero indicating no other processes are using the mount.
An unmount can be forced with the --force flag.
`
umountCommand = cli.Command{
- Name: "umount",
- Aliases: []string{"unmount"},
- Usage: "Unmounts working container's root filesystem",
- Description: description,
- Flags: umountFlags,
- Action: umountCmd,
- ArgsUsage: "CONTAINER-NAME-OR-ID",
+ Name: "umount",
+ Aliases: []string{"unmount"},
+ Usage: "Unmounts working container's root filesystem",
+ Description: description,
+ Flags: umountFlags,
+ Action: umountCmd,
+ ArgsUsage: "CONTAINER-NAME-OR-ID",
+ OnUsageError: usageErrorHandler,
}
)