diff options
author | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-09-05 20:17:00 -0500 |
---|---|---|
committer | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-09-05 20:17:00 -0500 |
commit | fd66fb134967067ed7e1c3182325f646b73c730b (patch) | |
tree | 4805195560b9e552c9f41bb57f7ee33674783778 /cmd | |
parent | 91666d1f2e766bc7c3073ed4cd731637c6885e36 (diff) | |
download | deb-planr-fd66fb134967067ed7e1c3182325f646b73c730b.tar.xz deb-planr-fd66fb134967067ed7e1c3182325f646b73c730b.zip |
Fix bug where standard dirs are not set due to abs positioningv0.1.0
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/planr/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/planr/main.go b/cmd/planr/main.go index 93f1cbf..2243203 100644 --- a/cmd/planr/main.go +++ b/cmd/planr/main.go @@ -76,7 +76,7 @@ func main() { log.SetFlags(log.Llongfile | log.Lmsgprefix) log.SetPrefix("planr: ") - if len(os.Args) < 2 { + if flag.NArg() < 1 { dieUsage() } |