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.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/podman/umount.go b/cmd/podman/umount.go
index 4622e8276..20ea410c2 100644
--- a/cmd/podman/umount.go
+++ b/cmd/podman/umount.go
@@ -37,12 +37,11 @@ An unmount can be forced with the --force flag.
func init() {
umountCommand.Command = _umountCommand
+ umountCommand.SetUsageTemplate(UsageTemplate())
flags := umountCommand.Flags()
flags.BoolVarP(&umountCommand.All, "all", "a", false, "Umount all of the currently mounted containers")
flags.BoolVarP(&umountCommand.Force, "force", "f", false, "Force the complete umount all of the currently mounted containers")
flags.BoolVarP(&umountCommand.Latest, "latest", "l", false, "Act on the latest container podman is aware of")
-
- rootCmd.AddCommand(umountCommand.Command)
}
func umountCmd(c *cliconfig.UmountValues) error {