summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-14 09:34:13 -0500
committerJeff Carr <[email protected]>2025-10-14 10:48:56 -0500
commitaa08cfcbe50a94898728ee53a685abfbd223a7e4 (patch)
tree0609c257a926796be1b1bcc9e3c91c6a07c6c367 /main.go
parentf4858dd58ee07309692909c350e0675cc6226d7e (diff)
still house cleaning
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.go b/main.go
index 6a0aa8f..7f86b60 100644
--- a/main.go
+++ b/main.go
@@ -18,7 +18,7 @@ var VERSION string
var BUILDTIME string
// used for shell auto completion
-var ARGNAME string = "mirrors" // todo: get this from $0 ?
+var ARGNAME string = "mirrors" // todo: get this from $0
//go:embed resources/*
var resources embed.FS
@@ -32,7 +32,6 @@ func main() {
me.pb.Filename = config.GetPanic("mirrors.pb")
if err := me.pb.Load(); err != nil {
if argv.Create {
- // me.pb.BaseDir = "/home/mirrors/wit"
me.pb.BaseDir = config.GetPanic("BaseDir")
me.pb.Save()
me.sh.GoodExit("created new pb file: " + me.pb.Filename)