Merge pull request #189 from figsoda/help-supported-formats

add supported formats to help message
This commit is contained in:
João Marcos Bezerra 2021-11-11 11:04:07 -03:00 committed by GitHub
commit 6a56e1ca46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,9 +2,12 @@ use std::path::PathBuf;
use clap::{Parser, ValueHint}; use clap::{Parser, ValueHint};
/// Command line options // Command line options
/// A command-line utility for easily compressing and decompressing files and directories.
///
/// Supported formats: tar, zip, bz/bz2, gz, lz4, xz/lz/lzma, zst
#[derive(Parser, Debug)] #[derive(Parser, Debug)]
#[clap(version, about)] #[clap(version)]
pub struct Opts { pub struct Opts {
/// Skip [Y/n] questions positively. /// Skip [Y/n] questions positively.
#[clap(short, long, conflicts_with = "no")] #[clap(short, long, conflicts_with = "no")]