Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up`diesel database --help` inconsistent with completion output #1593
Comments
This comment has been minimized.
This comment has been minimized.
taktoa
commented
Mar 12, 2018
|
Ah, then there are two conceivable bugs here:
|
This comment has been minimized.
|
|
sgrif
closed this
Mar 14, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
taktoa commentedMar 12, 2018
Steps to reproduce:
cargo install diesel_cli.diesel bash-completion > diesel-completions.bash; source diesel-completions.bashin Bash or ZSH.diesel database --help. The output lists three subcommands:help,reset, andsetup.diesel database <TAB>. The completion menu gives four subcommands:help,reset,setup, anddrop!diesel database drop --helpindicates that there is indeed such a command, but it is hidden!I compiled
diesel_cliversion1.1.0underrustc 1.26.0-nightly (322d7f7b9 2018-02-25)by runningcargo install diesel_cli. I am on NixOS, which is a complicating factor in a lot of cases, but I don't think that should affect this bug. If you can't reproduce it I can try to get more information on why it is happening.I suggest that however it is you are generating the
--helpoutput for commands, it should be made automatically consistent with the completions.