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)
```
## 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
MIT

@ -6,7 +6,7 @@ use tracing_subscriber::EnvFilter;
use universal_archiver::format::{parse_format, FileFormat};
#[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 {
/// The operation to perform
#[clap(subcommand)]

Loading…
Cancel
Save