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

[Bug] subcommand help message is broken #1562

Closed
rapiz1 opened this issue Jan 24, 2022 · 2 comments · Fixed by #1563
Closed

[Bug] subcommand help message is broken #1562

rapiz1 opened this issue Jan 24, 2022 · 2 comments · Fixed by #1563
Labels
bug Something isn't working

Comments

@rapiz1
Copy link

rapiz1 commented Jan 24, 2022

🐛 Bug Report

Steps to Reproduce

leo -h                                                                                         2022-01-24T17:32:43+08:00
leo 1.5.3
The Aleo Team <[email protected]>
Leo compiler and package manager

USAGE:
    leo [FLAGS] [OPTIONS] [api] <SUBCOMMAND>

FLAGS:
    -d               Print additional information for debugging
    -h, --help       Prints help information
    -q               Suppress CLI output
    -V, --version    Prints version information

OPTIONS:
        --path <path>    Optional path to Leo program root folder

ARGS:
    <api>    Custom Aleo PM backend URL [env: APM_URL=]

SUBCOMMANDS:
    build      Compiler Options wrapper for Build command. Also used by other commands which require Build command
               output as their input
    clean      Clean outputs folder command
    clone      Clone a package from Aleo Package Manager
    deploy     Deploy Leo program to the network
    fetch      Pull dependencies specified in Leo toml
    help       Prints this message or the help of the given subcommand(s)
    init       Init Leo project command within current directory
    lint       Lint Leo code command
    login      Login to Aleo PM and store credentials locally
    logout     Remove credentials for Aleo PM from .leo directory
    new        Create new Leo project
    prove      Compiler Options wrapper for Build command. Also used by other commands which require Build command
               output as their input
    publish    Publish package to Aleo Package Manager
    run        Compiler Options wrapper for Build command. Also used by other commands which require Build command
               output as their input
    setup      Compiler Options wrapper for Build command. Also used by other commands which require Build command
               output as their input
    test       Compiler Options wrapper for Build command. Also used by other commands which require Build command
               output as their input
    update     Setting for automatic updates of Leo
    watch      Compiler Options wrapper for Build command. Also used by other commands which require Build command
               output as their input

Expected Behavior

Each subcommand should have a help message.

Your Environment

@rapiz1 rapiz1 added the bug Something isn't working label Jan 24, 2022
@rapiz1
Copy link
Author

rapiz1 commented Jan 24, 2022

I will open a PR to fix this soon.

@gluax
Copy link
Contributor

gluax commented Apr 6, 2022

Was closed by #1563.

@gluax gluax closed this as completed Apr 6, 2022
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