edgedb-cli icon indicating copy to clipboard operation
edgedb-cli copied to clipboard

extra dashes in edgedb subcommand help

Open 1st1 opened this issue 4 years ago • 2 comments

{edgedb} ~/d/e/edgedb-cli (master) » edgedb instance create --help
edgedb-instance-create 

Initialize a new server instance

Instead of edgedb-instance-create it should say edgedb instance create

1st1 avatar Jul 30 '21 18:07 1st1

Well, this isn't a mistake or typo, this is how clap always works. Have to research why it's done so, and is it tunable. Not a priority, though.

tailhook avatar Aug 02 '21 10:08 tailhook

https://github.com/clap-rs/clap/issues/1431 -- looks like it's not there yet. We might need to contribute a fix to clap.

1st1 avatar Aug 02 '21 20:08 1st1