Improve flag descriptions

This commit is contained in:
Jan Philipp Timme 2018-12-29 22:10:53 +01:00
parent 4ae5f3e500
commit 1e33d3669c

View File

@ -14,7 +14,7 @@ import (
var settings = make(map[string]string) var settings = make(map[string]string)
func argParse() { func argParse() {
inputModePtr := flag.String("inputMode", "stdin", "How to get mailq output. Available options: \"stdin\", 'cmd'") inputModePtr := flag.String("inputMode", "cmd", "Where to read mailq output from. Available options: \"stdin\", \"cmd\"")
mailqCommandPtr := flag.String("mailqCommand", "mailq", "Command to use for getting mailq output") mailqCommandPtr := flag.String("mailqCommand", "mailq", "Command to use for getting mailq output")
mailqCommandArgsPtr := flag.String("mailqCommandArgs", "", "Optional arguments to pass to mailqCommand") mailqCommandArgsPtr := flag.String("mailqCommandArgs", "", "Optional arguments to pass to mailqCommand")
flag.Parse() flag.Parse()