Skip to content

Commit

Permalink
fix flag name
Browse files Browse the repository at this point in the history
  • Loading branch information
lokzz committed Jan 31, 2023
1 parent d6fd9e0 commit 37d8076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ var manCmd = &cobra.Command{

func init() {
rootCmd.Flags().BoolVarP(&altscreen, "fullscreen", "f", false, "fullscreen")
rootCmd.Flags().BoolVarP(&showpercentage, "noshowperc", "n", false, "dont ShowPercentage")
rootCmd.Flags().BoolVarP(&showpercentage, "showperc", "s", false, "Show Percentage")

rootCmd.AddCommand(manCmd)
}
Expand Down

0 comments on commit 37d8076

Please sign in to comment.