Skip to content

Commit

Permalink
Remove .exe suffix if any
Browse files Browse the repository at this point in the history
Signed-off-by: Leo Liu <[email protected]>
  • Loading branch information
silver886 authored Jan 8, 2025
1 parent 6abf83f commit d78732d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/podman/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d78732d

Please sign in to comment.