Robzz / cargo-docset

Cargo subcommand to generate a Dash/Zeal docset for your Rust packages.
Apache License 2.0
100 stars 4 forks source link

Don't panic when invoked directly #12

Closed Robzz closed 5 years ago

Robzz commented 5 years ago

Don't panic when the app is invoked directly as cargo-docset and print the usage message instead.

For reference, the proper way to invoke the app directly without passing by cargo is cargo-docset docset to satistfy the CLI args parser.

Fixes #11