Skip to content

adf subcommand --help falls back to root help instead of subcommand docs #240

Closed

Description

@stackbilt-admin

Problem

Running charter adf <subcommand> --help (e.g. charter adf sync --help, charter adf migrate --help) renders the root charter --help output rather than documentation for the subcommand.

The actual per-subcommand docs are only accessible by running charter adf with no arguments.

Reproduction

$ charter adf migrate --help
# → outputs root charter --help

$ charter adf sync --help  
# → outputs root charter --help

$ charter adf
# → outputs the correct subcommand reference (migrate, sync, fmt, patch, etc.)

Expected behavior

charter adf <subcommand> --help should output the specific documentation for that subcommand — equivalent to the relevant block from charter adf.

Alternatively, charter adf --help could output the full subcommand reference (which charter adf currently does).

Impact

Discoverability friction: the natural discovery path (command --help) doesn't work for ADF subcommands. Users hitting this for the first time won't find the docs until they run the bare charter adf form.

Activity

  1. added
    bug
    documentation
    priority:p2
    on Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdocumentationpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions