aboutsummaryrefslogtreecommitdiff
path: root/progname.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-02-13 01:22:10 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-02-13 01:22:10 +0100
commit8bb62c061174bc9098d7ccf1b6772783f1336ba9 (patch)
treebc2bcddefe55e52b931924664617b0df5b1f9e48 /progname.go
parentc32d9bf24c3b670c3a56ea55aeefb6232f3d4ec8 (diff)
combine
Diffstat (limited to 'progname.go')
-rw-r--r--progname.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/progname.go b/progname.go
deleted file mode 100644
index 5f14ac5..0000000
--- a/progname.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package main
-
-import (
- "log"
- "os"
- "path"
-)
-
-func init() {
- log.SetFlags(0)
- log.SetPrefix(progName() + ": ")
-}
-
-func progName() string {
- return path.Base(os.Args[0])
-}