Add verbose option for extracting and creating archives to list files
(to be implemented)
This commit is contained in:
parent
3bc8b9aa80
commit
22faadc34e
10
src/cli.rs
10
src/cli.rs
@ -27,6 +27,11 @@ pub fn extract() -> Command {
|
||||
.long("quiet")
|
||||
.visible_alias("silent")
|
||||
.action(ArgAction::SetFalse),
|
||||
Arg::new("verbose")
|
||||
.help("List the extracted files")
|
||||
.short('v')
|
||||
.long("verbose")
|
||||
.action(ArgAction::SetTrue),
|
||||
Arg::new("stdin")
|
||||
.help("Read archive from stdin")
|
||||
.short('i')
|
||||
@ -99,6 +104,11 @@ pub fn create() -> Command {
|
||||
.long("quiet")
|
||||
.visible_alias("silent")
|
||||
.action(ArgAction::SetFalse),
|
||||
Arg::new("verbose")
|
||||
.help("List the archived files")
|
||||
.short('v')
|
||||
.long("verbose")
|
||||
.action(ArgAction::SetTrue),
|
||||
Arg::new("stdout")
|
||||
.help("Write archive to stdout")
|
||||
.short('o')
|
||||
|
Loading…
Reference in New Issue
Block a user