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")
|
.long("quiet")
|
||||||
.visible_alias("silent")
|
.visible_alias("silent")
|
||||||
.action(ArgAction::SetFalse),
|
.action(ArgAction::SetFalse),
|
||||||
|
Arg::new("verbose")
|
||||||
|
.help("List the extracted files")
|
||||||
|
.short('v')
|
||||||
|
.long("verbose")
|
||||||
|
.action(ArgAction::SetTrue),
|
||||||
Arg::new("stdin")
|
Arg::new("stdin")
|
||||||
.help("Read archive from stdin")
|
.help("Read archive from stdin")
|
||||||
.short('i')
|
.short('i')
|
||||||
@ -99,6 +104,11 @@ pub fn create() -> Command {
|
|||||||
.long("quiet")
|
.long("quiet")
|
||||||
.visible_alias("silent")
|
.visible_alias("silent")
|
||||||
.action(ArgAction::SetFalse),
|
.action(ArgAction::SetFalse),
|
||||||
|
Arg::new("verbose")
|
||||||
|
.help("List the archived files")
|
||||||
|
.short('v')
|
||||||
|
.long("verbose")
|
||||||
|
.action(ArgAction::SetTrue),
|
||||||
Arg::new("stdout")
|
Arg::new("stdout")
|
||||||
.help("Write archive to stdout")
|
.help("Write archive to stdout")
|
||||||
.short('o')
|
.short('o')
|
||||||
|
Loading…
Reference in New Issue
Block a user