fix cherry-pick typo

This commit is contained in:
Boshi Lian 2016-09-02 12:48:08 -07:00
parent 1946a542f7
commit 525e22306e

View file

@ -87,7 +87,7 @@ func initConfig() {
pflag.StringVarP(&config.Challenger, "challenger", "c", "", "Additional challenger name, e.g. pam, emtpy for no additional challenge")
pflag.StringVar(&config.Logfile, "log", "", "Logfile path. Leave emtpy or any error occurs will fall back to stdout")
pflag.BoolVar(&config.AllowBadUsername, "allow_bad_username", false, "disable username check while search the working dir")
mflag.BoolVar(&config.NoCheckPerm, -no_check_perm, false, "Disable 0400 checking when using files in the working dir")
pflag.BoolVar(&config.NoCheckPerm, "no_check_perm", false, "Disable 0400 checking when using files in the working dir")
pflag.BoolVarP(&config.ShowHelp, "help", "h", false, "Print help and exit")
pflag.BoolVar(&config.ShowVersion, "version", false, "Print version and exit")