magic-wormhole / magic-wormhole.rs

Rust implementation of Magic Wormhole, with new features and enhancements
European Union Public License 1.2
645 stars 72 forks source link

Adapt help message for renamed binary #209

Open pepa65 opened 8 months ago

pepa65 commented 8 months ago

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.