From d68a7071b70ccdef4879c8f03b454a31c470a1ce Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Sun, 28 Feb 2021 17:58:32 +0100 Subject: [PATCH] Update default config location in . --- go-sendxmpp.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/go-sendxmpp.go b/go-sendxmpp.go index ce2a215..885919c 100644 --- a/go-sendxmpp.go +++ b/go-sendxmpp.go @@ -227,7 +227,8 @@ func main() { flagStartTLS := getopt.BoolLong("start-tls", 'x', "Use StartTLS. (DEPRECATED)") flagResource := getopt.StringLong("resource", 'r', "go-sendxmpp", "Set resource. "+ "When sending to a chatroom this is used as 'alias'. (Default: go-sendxmpp)") - flagFile := getopt.StringLong("file", 'f', "", "Set configuration file. (Default: ~/.sendxmpprc)") + flagFile := getopt.StringLong("file", 'f', "", "Set configuration file. (Default: "+ + "~/.config/go-sendxmpp/sendxmpprc)") flagMessageFile := getopt.StringLong("message", 'm', "", "Set file including the message.") flagInteractive := getopt.BoolLong("interactive", 'i', "Interactive mode (for use with e.g. 'tail -f').") flagSkipVerify := getopt.BoolLong("no-tls-verify", 'n',