Add verbose option for extracting and creating archives to list files

(to be implemented)
This commit is contained in:
Nathan Fisher 2024-03-31 23:17:59 -04:00
parent 3bc8b9aa80
commit 22faadc34e
1 changed files with 10 additions and 0 deletions

View File

@ -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')