From 8ded2b2e2db6ba289baf2203b2a1a3dc40e5fd8f Mon Sep 17 00:00:00 2001 From: Justin Hawkins Date: Tue, 28 Feb 2017 22:10:53 +1030 Subject: [PATCH] Document the --no-watermark feature --- README.md | 2 ++ dau.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 31f6168..c9848b3 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,8 @@ Other parameters are: `--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. `--version` - show the version. diff --git a/dau.go b/dau.go index 0e585b3..f94d083 100644 --- a/dau.go +++ b/dau.go @@ -114,7 +114,7 @@ func parseOptions() Config { pathFlag := getopt.StringLong("directory", 'd', "", "directory to scan, optional, defaults to current directory") watchFlag := getopt.Int16Long("watch", 's', 10, "time between scans") 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") versionFlag := getopt.BoolLong("version", 'v', "show version") getopt.SetParameters("")