kornelski / cargo-deb

Make Debian packages directly from Rust/Cargo projects
https://lib.rs/cargo-deb
MIT License
423 stars 50 forks source link

Added URL to help text #80

Closed stappersg closed 1 year ago

stappersg commented 1 year ago

So there is a link to where to find further information.

Signed-off-by: Geert Stappers stappers@stappers.it

kornelski commented 1 year ago

It's a good idea to point to the website, but help for the -h flag is not the right place for it. Add it as a line in usage() call maybe?

stappersg commented 1 year ago

Add it a line in usage() call maybe?

maybe not.

Screenshot:

$ cargo deb foo
error: unexpected argument 'foo' found

Usage: cargo build [OPTIONS]

For more information, try '--help'.
cargo-deb: build failed
$
$ cargo deb usage
error: unexpected argument 'usage' found

Usage: cargo build [OPTIONS]

For more information, try '--help'.
cargo-deb: build failed
$