Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lflxp committed Feb 2, 2024
1 parent 640ba20 commit 8fdcb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func init() {
// will be global for your application.
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.showme.yaml)")
// rootCmd.PersistentFlags().BoolVarP(&debugs, "debug", "d", false, "是否打印debug日志")
rootCmd.PersistentFlags().BoolVarP(&islog, "log", "L", false, "是否文件输出")
rootCmd.PersistentFlags().BoolVarP(&islog, "log", "O", false, "是否文件输出")

// Cobra also supports local flags, which will only run
// when this action is called directly.
Expand Down

0 comments on commit 8fdcb54

Please sign in to comment.