diff options
| author | ewy <ewy0@protonmail.com> | 2026-05-17 02:31:10 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-05-17 02:33:16 +0200 |
| commit | 7585a488b7b1e1812f7ebf50107139e2fd65f035 (patch) | |
| tree | 921dd87ca8b5583abe4ebfe1474e1b02fbb7365f /main.go | |
| parent | 45d1755e9f28853186613e97b034c2020f9d98e4 (diff) | |
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,6 +8,7 @@ import ( "github.com/ewy1/pik/crawl" "github.com/ewy1/pik/flags" "github.com/ewy1/pik/git" + "github.com/ewy1/pik/help" "github.com/ewy1/pik/indexers/pikdex" "github.com/ewy1/pik/menu" "github.com/ewy1/pik/model" @@ -105,6 +106,7 @@ func mode[T any](list ModeMap[T], fire func(mode T) error) *int { } func pik() int { + pflag.Usage = help.Echo pflag.Parse() code := mode(uninitializedModes, func(mode func() error) error { |
