mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 20:15:27 +00:00
Merge pull request #189 from figsoda/help-supported-formats
add supported formats to help message
This commit is contained in:
commit
6a56e1ca46
@ -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")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user