Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subcommand not recognized if followed by a # HEADER line #75

Closed
eaubin opened this issue Dec 4, 2020 · 0 comments · Fixed by #77
Closed

Subcommand not recognized if followed by a # HEADER line #75

eaubin opened this issue Dec 4, 2020 · 0 comments · Fixed by #77
Labels
bug Something isn't working

Comments

@eaubin
Copy link

eaubin commented Dec 4, 2020

For example, mask foo --help on

# Header 1

## foo

### foo A

```sh
echo A
```

### foo B

```sh
echo B
```

# foo B is not found as a subcommand if this line is present

prints

mask-foo 


USAGE:
    mask foo <SUBCOMMAND>

FLAGS:
    -h, --help    Prints help information

SUBCOMMANDS:
    A       
    help    Prints this message or the help of the given subcommand(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants