Skip to content

Help suggests order of arguments that halp does not accept. #30

@cafce25

Description

@cafce25

Describe the bug

When run with --help or without a CMD the help suggests the syntax halp [OPTIONS] [CMD] <COMMAND>.
But running halp anycmd plz which follows that order errors with

error: the following required arguments were not provided:
  <CMD>

Usage: halp plz <CMD>

For more information, try '--help'.

To reproduce

halp anycmd plz

Expected behavior

Either the help should not list the arguments in the wrong order (I think that's the proper solution) or it should accept the suggested syntax.

Software information

  • Project version: halp 0.1.5

And likely irrelevant but here you go:

  • Operating system: Arch GNU/Linux x86_64 6.2.10-arch1-1
  • Rust version: rustc 1.69.0 (84c898d65 2023-04-16)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions