summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-05-17 02:31:10 +0200
committerewy <ewy0@protonmail.com>2026-05-17 02:33:16 +0200
commit7585a488b7b1e1812f7ebf50107139e2fd65f035 (patch)
tree921dd87ca8b5583abe4ebfe1474e1b02fbb7365f /main.go
parent45d1755e9f28853186613e97b034c2020f9d98e4 (diff)
add handmade help pageHEADmaster
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index 800232a..25b570e 100644
--- a/main.go
+++ b/main.go
@@ -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 {