aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2019-03-21 09:28:52 -0700
committerChristine Dodrill <me@christine.website>2019-03-21 09:28:52 -0700
commit0424c7dd68968db9dc48c41be391a56e0140e5b2 (patch)
tree798add42432254027340e09368d45282c908609e /internal
parent586a2d72b64a9665a833766d976d787724b3e9a2 (diff)
downloadx-0424c7dd68968db9dc48c41be391a56e0140e5b2.tar.xz
x-0424c7dd68968db9dc48c41be391a56e0140e5b2.zip
oops
Diffstat (limited to 'internal')
-rw-r--r--internal/internal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/internal.go b/internal/internal.go
index b1a7bc4..a7225b8 100644
--- a/internal/internal.go
+++ b/internal/internal.go
@@ -42,6 +42,7 @@ var (
// factor as an escape hatch.
func HandleStartup() {
flag.Parse()
+ flagenv.Parse()
ctx := opname.With(context.Background(), "internal.HandleStartup")
if *config != "" {
@@ -50,7 +51,6 @@ func HandleStartup() {
flagconfyg.CmdParse(*config)
}
flag.Parse()
- flagenv.Parse()
if *licenseShow {
fmt.Printf("Licenses for %v\n", os.Args)