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

Adapt help message for renamed binary #209

Open
pepa65 opened this issue Oct 17, 2023 · 1 comment
Open

Adapt help message for renamed binary #209

pepa65 opened this issue Oct 17, 2023 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@pepa65
Copy link

pepa65 commented Oct 17, 2023

Right now, the generic help message has these lines:

To send files, use `wormhole send <PATH>`.
To receive files, use `wormhole receive <CODE>`.

With the default binary name wormhole-rs this is not correct. If you rename (or softlink to) the binary, the USAGE line gets changed to for instance: rw [OPTIONS] <SUBCOMMAND>.
It would be nice if wormhole in the above lines also could automatically adapt to the binary name.

@felinira felinira added bug Something isn't working good first issue Good for newcomers labels Aug 12, 2024
@felinira
Copy link
Collaborator

This just requires to change the help string here. IMO the information here is redundant, and we can just remove the last two lines from --help.

Then run cargo test and adjust the fallout in cli/tests/cmd.

Contributions welcome, this is a very low hanging fruit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants