Document the --no-watermark feature
This commit is contained in:
parent
e3e712d073
commit
8ded2b2e2d
@ -54,6 +54,8 @@ Other parameters are:
|
|||||||
|
|
||||||
`--username <username>` - an arbitrary string to show as the bot's username in the channel.
|
`--username <username>` - an arbitrary string to show as the bot's username in the channel.
|
||||||
|
|
||||||
|
`--no-watermark` - don't watermark images with a reference to this tool.
|
||||||
|
|
||||||
`--help` - show command line help.
|
`--help` - show command line help.
|
||||||
|
|
||||||
`--version` - show the version.
|
`--version` - show the version.
|
||||||
|
2
dau.go
2
dau.go
@ -114,7 +114,7 @@ func parseOptions() Config {
|
|||||||
pathFlag := getopt.StringLong("directory", 'd', "", "directory to scan, optional, defaults to current directory")
|
pathFlag := getopt.StringLong("directory", 'd', "", "directory to scan, optional, defaults to current directory")
|
||||||
watchFlag := getopt.Int16Long("watch", 's', 10, "time between scans")
|
watchFlag := getopt.Int16Long("watch", 's', 10, "time between scans")
|
||||||
usernameFlag := getopt.StringLong("username", 'u', "", "username for the bot upload")
|
usernameFlag := getopt.StringLong("username", 'u', "", "username for the bot upload")
|
||||||
noWatermarkFlag := getopt.BoolLong("nowatermark", 'n', "do not put a watermark on images before uploading")
|
noWatermarkFlag := getopt.BoolLong("no-watermark", 'n', "do not put a watermark on images before uploading")
|
||||||
helpFlag := getopt.BoolLong("help", 'h', "help")
|
helpFlag := getopt.BoolLong("help", 'h', "help")
|
||||||
versionFlag := getopt.BoolLong("version", 'v', "show version")
|
versionFlag := getopt.BoolLong("version", 'v', "show version")
|
||||||
getopt.SetParameters("")
|
getopt.SetParameters("")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user