diff options
Diffstat (limited to 'src/lib.go')
-rw-r--r-- | src/lib.go | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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", ) ) |