Fix name in clap attributes

Signed-off-by: trivernis <trivernis@protonmail.com>
main
trivernis 3 years ago
parent c0c532f0c0
commit 5c36c1a824
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -24,6 +24,22 @@ SUBCOMMANDS:
help Print this message or the help of the given subcommand(s) help Print this message or the help of the given subcommand(s)
``` ```
## Extract
```sh
Extracts a given file
USAGE:
universal-archiver extract <FILE> [OUTPUT]
ARGS:
<FILE> The file to extract
<OUTPUT> The output folder for the given file
OPTIONS:
-h, --help Print help information
```
## License ## License
MIT MIT

@ -6,7 +6,7 @@ use tracing_subscriber::EnvFilter;
use universal_archiver::format::{parse_format, FileFormat}; use universal_archiver::format::{parse_format, FileFormat};
#[derive(Debug, Clone, Parser)] #[derive(Debug, Clone, Parser)]
#[clap(name="extract-archive", version=env!("CARGO_PKG_VERSION"), about=env!("CARGO_PKG_DESCRIPTION"))] #[clap(name="universal-archiver", version=env!("CARGO_PKG_VERSION"), about=env!("CARGO_PKG_DESCRIPTION"))]
struct Args { struct Args {
/// The operation to perform /// The operation to perform
#[clap(subcommand)] #[clap(subcommand)]

Loading…
Cancel
Save