diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/main.go | 4 | ||||
-rw-r--r-- | src/lib.go | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/cmd/main.go b/src/cmd/main.go index 2f78c4d..8e80599 100644 --- a/src/cmd/main.go +++ b/src/cmd/main.go @@ -1,7 +1,7 @@ package main -import "euandre.org/papo/src" +import "euandre.org/papod/src" func main() { - papo.Main() + papod.Main() } @@ -1,4 +1,4 @@ -package papo +package papod import ( "bufio" @@ -259,14 +259,14 @@ func SetHostname() { } func SetEnvironmentVariables() { - Version = os.Getenv("PAPO_VERSION") + Version = os.Getenv("PAPOD_VERSION") if Version == "" { - Version = "PAPO-VERSION-UNKNOWN" + Version = "PAPOD-VERSION-UNKNOWN" } - Colour = os.Getenv("PAPO_COLOUR") + Colour = os.Getenv("PAPOD_COLOUR") if Colour == "" { - Colour = "PAPO-COLOUR-UNKNOWN" + Colour = "PAPOD-COLOUR-UNKNOWN" } } @@ -324,17 +324,17 @@ func BuildContext(databasePath string) *Context { var ( databasePath = flag.String( "f", - "papo.db", + "papod.db", "The path to the database file", ) publicSocketPath = flag.String( "s", - "papo.public.socket", + "papod.public.socket", "The path to the socket that handles the public traffic", ) commandSocketPath = flag.String( "S", - "papo.command.socket", + "papod.command.socket", "The path to the private IPC commands socket", ) ) |