From 043a04bf515040c92c4e74964369dda41df8e323 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 10 Nov 2021 22:04:00 -0500 Subject: [PATCH] add supported formats to help message --- src/opts.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/opts.rs b/src/opts.rs index 1baef3c..f6b8fc4 100644 --- a/src/opts.rs +++ b/src/opts.rs @@ -2,9 +2,12 @@ use std::path::PathBuf; 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)] -#[clap(version, about)] +#[clap(version)] pub struct Opts { /// Skip [Y/n] questions positively. #[clap(short, long, conflicts_with = "no")]