add help to flags

This commit is contained in:
andrzej 2024-11-05 22:21:52 +01:00
parent 6df7facc6c
commit a554255946
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ var elog = log.New(os.Stdout, "ERROR: ", 3)
func main() { func main() {
//SETUP FLAGS //SETUP FLAGS
var debugFlag = flag.Bool("debug", false, "help message for flag n") var debugFlag = flag.Bool("debug", false, "debug mode sends logs to $HOME/.gopaper/logfile")
var dirFlag = flag.String("dir", "", "help message") var dirFlag = flag.String("dir", "", "the directory from which to randomly select images")
flag.Parse() flag.Parse()
clog.Println("Welcome to GoPaper!") clog.Println("Welcome to GoPaper!")