Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

--help always replies ERROR: ... #57

Closed
iljah opened this issue Jan 13, 2019 · 7 comments
Closed

--help always replies ERROR: ... #57

iljah opened this issue Jan 13, 2019 · 7 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@iljah
Copy link

iljah commented Jan 13, 2019

In git clone from a few h ago, adding --help to any command always replies with ERROR: cmd as first line:

wallet713> accounts

____ Wallet Accounts ____

 Name    | Parent BIP-32 Derivation Path 
---------+-------------------------------
 default | m/0/0 

wallet713> accounts --help
ERROR: accounts 
lists available accounts

USAGE:
    accounts

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

also help command itself should support --help since that's listed:

wallet713> help
ERROR:  

USAGE:
     [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
...
wallet713> help --help
ERROR: error: The subcommand '--help' wasn't recognized

USAGE:
         help <subcommands>...

For more information try --help
@lehnberg lehnberg added the bug Something isn't working label Jan 13, 2019
@dasterdly
Copy link

did you follow the steps in setting up grin correctly? had the same issue when missing cargo build!

rust 1.31+ (use rustup- i.e. curl https://sh.rustup.rs -sSf | sh; source $HOME/.cargo/env)
if rust is already installed, you can simply update version with rustup update

git clone https://github.com/mimblewimble/grin.git
cd grin
cargo build --release

@iljah
Copy link
Author

iljah commented Jan 18, 2019 via email

@lehnberg
Copy link
Contributor

I confirm that I've reproduced this issue successfully.

@lehnberg lehnberg added the good first issue Good for newcomers label Jan 18, 2019
@dasterdly
Copy link

dasterdly commented Jan 18, 2019

Lehnberg: what OS are you using? It must be a permission issue. On Mac with homebrew it works

@lehnberg
Copy link
Contributor

@dasterdly I'm on macOS as well. Just to be clear: --help still works, but it includes an ERROR: first.

@iljah
Copy link
Author

iljah commented Jan 22, 2019

In git checkout from few min ago, --help doesn't work for help itself:

wallet713> help --help
ERROR: error: The subcommand '--help' wasn't recognized

USAGE:
         help <subcommands>...

For more information try --help

even tough technically it should:

wallet713> help
ERROR:  

USAGE:
     [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ravidio added a commit to ravidio/wallet713 that referenced this issue Jan 25, 2019
@ravidio
Copy link
Contributor

ravidio commented Jan 25, 2019

fixed with the recent commit.

@ravidio ravidio closed this as completed Jan 25, 2019
yyangli pushed a commit to mwcproject/mwc713 that referenced this issue May 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants