This commit is contained in:
Jeremy Latt 2014-03-21 23:24:33 -07:00
parent 6403e79a5b
commit bffad06a26
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,8 @@ func usage() {
fmt.Fprintln(os.Stderr, " initdb -conf <config> -- initialize database") fmt.Fprintln(os.Stderr, " initdb -conf <config> -- initialize database")
fmt.Fprintln(os.Stderr, " upgrade -conf <config> -- upgrade database") fmt.Fprintln(os.Stderr, " upgrade -conf <config> -- upgrade database")
fmt.Fprintln(os.Stderr, " genpasswd <password> -- bcrypt a password") fmt.Fprintln(os.Stderr, " genpasswd <password> -- bcrypt a password")
fmt.Fprintln(os.Stderr)
fmt.Fprintln(os.Stderr, "software version:", irc.SEM_VER)
flag.PrintDefaults() flag.PrintDefaults()
} }

View File

@ -1,7 +1,7 @@
package irc package irc
const ( const (
SEM_VER = "ergonomadic-1.3.1" SEM_VER = "ergonomadic-1.4"
CRLF = "\r\n" CRLF = "\r\n"
MAX_REPLY_LEN = 512 - len(CRLF) MAX_REPLY_LEN = 512 - len(CRLF)