diff --git a/cmd/podman/root.go b/cmd/podman/root.go index e48b497d77..443469b9e3 100644 --- a/cmd/podman/root.go +++ b/cmd/podman/root.go @@ -62,7 +62,7 @@ Options: var ( rootCmd = &cobra.Command{ - Use: filepath.Base(os.Args[0]) + " [options]", + Use: strings.TrimSuffix(filepath.Base(os.Args[0]), ".exe") + " [options]", Long: "Manage pods, containers and images", SilenceUsage: true, SilenceErrors: true,