diff --git a/README.md b/README.md index 9cd3f14..6e1a88e 100644 --- a/README.md +++ b/README.md @@ -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 [OUTPUT] + +ARGS: + The file to extract + The output folder for the given file + +OPTIONS: + -h, --help Print help information +``` + ## License MIT \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 627fb83..5d80c09 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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)]