Description
The usage() function in main.go (lines 27-42) doesn't document all flags that are actually registered and parsed by the program. Users running --help get an incomplete picture of available options.
Flags defined via flag.*Var but missing from the usage text:
--target (main.go:70)
--sync (main.go:71)
--archive (main.go:72)
--enter (main.go:73)
--cmd (main.go:74)
-h (alias for --help, main.go:68)
Steps to reproduce
Compare the printed options list against the flags registered in main().
Expected behavior
usage() should list every supported flag, including --target, --sync, --archive, --enter, --cmd, and the -h alias, so --help accurately reflects the CLI surface.
Description
The
usage()function inmain.go(lines 27-42) doesn't document all flags that are actually registered and parsed by the program. Users running--helpget an incomplete picture of available options.Flags defined via
flag.*Varbut missing from the usage text:--target(main.go:70)--sync(main.go:71)--archive(main.go:72)--enter(main.go:73)--cmd(main.go:74)-h(alias for--help,main.go:68)Steps to reproduce
Compare the printed options list against the flags registered in
main().Expected behavior
usage()should list every supported flag, including--target,--sync,--archive,--enter,--cmd, and the-halias, so--helpaccurately reflects the CLI surface.