Skip to content

Commit

Permalink
Fix help text
Browse files Browse the repository at this point in the history
  • Loading branch information
triole committed Aug 14, 2024
1 parent 87be6d0 commit 5bfab27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ Flags:
Commands:
list list files matching the criteria
exists check if file(s) exists, return non-zero exitcode if not
compress compress matching files, compress and truncate after successful
compression
compress compress matching files
rotate rotate matching files, compress and truncate after successful
compression
copy copy matching files, requires target folder definition
Expand Down
2 changes: 1 addition & 1 deletion src/argparse.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var CLI struct {

Compress struct {
Format string `help:"compression format, supports: ${compressionFormats}" short:"g" default:"gz" enum:"${compressionFormats}"`
} `cmd:"" help:"compress matching files, compress and truncate after successful compression"`
} `cmd:"" help:"compress matching files"`

Rotate struct {
Format string `help:"compression format, if files are not removed, supports: ${compressionFormats}" short:"g" default:"gz" enum:"${compressionFormats}"`
Expand Down

0 comments on commit 5bfab27

Please sign in to comment.