Skip to content

[Bug] docfx -? lists arguments in wrong order: [config] [OPTIONS] [COMMAND] #11034

Description

Describe the bug

Command line help prints this:

USAGE:
    docfx [config] [OPTIONS] [COMMAND]

To Reproduce

Run:
docfx -?

Expected behavior

Usage should print the correct order with [COMMAND] as the first item:

USAGE:
    docfx [COMMAND] [config] [OPTIONS]

Context (please complete the following information):

  • OS: Windows
  • Docfx version: 2.78.5

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