aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/confyg/flagconfyg/flagconfyg.go4
-rw-r--r--internal/internal.go3
2 files changed, 3 insertions, 4 deletions
diff --git a/internal/confyg/flagconfyg/flagconfyg.go b/internal/confyg/flagconfyg/flagconfyg.go
index abf24a8..882853a 100644
--- a/internal/confyg/flagconfyg/flagconfyg.go
+++ b/internal/confyg/flagconfyg/flagconfyg.go
@@ -7,9 +7,9 @@ import (
"context"
"flag"
"io/ioutil"
+ "log"
"strings"
- "within.website/ln"
"within.website/x/internal/confyg"
)
@@ -22,7 +22,7 @@ func CmdParse(ctx context.Context, path string) {
err = Parse(path, data, flag.CommandLine)
if err != nil {
- ln.Error(ctx, err)
+ log.Printf("can't parse %s: %v", path, err)
return
}
}
diff --git a/internal/internal.go b/internal/internal.go
index 1f0a887..b9c1962 100644
--- a/internal/internal.go
+++ b/internal/internal.go
@@ -10,7 +10,6 @@ import (
"github.com/posener/complete"
"go4.org/legal"
- "within.website/ln/opname"
"within.website/x/internal/confyg/flagconfyg"
"within.website/x/internal/flagenv"
"within.website/x/internal/manpage"
@@ -58,7 +57,7 @@ func HandleStartup() {
flag.Parse()
flagenv.Parse()
- ctx := opname.With(context.Background(), "internal.HandleStartup")
+ ctx := context.Background()
if *config != "" {
flagconfyg.CmdParse(ctx, *config)