Skip to content

--help output is missing several existing flags #2

Description

@AnmiTaliDev

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

./warproot --help

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions