|
|
@ -84,7 +84,7 @@ func main() {
|
|
|
|
|
|
|
|
|
|
|
|
// Define command line flags.
|
|
|
|
// Define command line flags.
|
|
|
|
flagHelp := getopt.BoolLong("help", 0, "Show help.")
|
|
|
|
flagHelp := getopt.BoolLong("help", 0, "Show help.")
|
|
|
|
flagHTTPUpload := getopt.StringLong("http-upload", 0, "", "Send a file via http-upload.")
|
|
|
|
flagHTTPUpload := getopt.StringLong("http-upload", 'h', "", "Send a file via http-upload.")
|
|
|
|
flagDebug := getopt.BoolLong("debug", 'd', "Show debugging info.")
|
|
|
|
flagDebug := getopt.BoolLong("debug", 'd', "Show debugging info.")
|
|
|
|
flagServer := getopt.StringLong("jserver", 'j', "", "XMPP server address.")
|
|
|
|
flagServer := getopt.StringLong("jserver", 'j', "", "XMPP server address.")
|
|
|
|
flagUser := getopt.StringLong("username", 'u', "", "Username for XMPP account.")
|
|
|
|
flagUser := getopt.StringLong("username", 'u', "", "Username for XMPP account.")
|
|
|
|