Skip to content

Commit

Permalink
Update help
Browse files Browse the repository at this point in the history
  • Loading branch information
triole committed Jul 20, 2024
1 parent 03ef59c commit 9694fc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Flags:
Commands:
ls list files matching the criteria
rotate rotate matching files, compress them and truncate everything older
than max age
rotate rotate matching files, compress and truncate after successful
compression
remove remove matching files older than max age
Run "fileaxe <command> --help" for more information on a command.
Expand Down
2 changes: 1 addition & 1 deletion src/argparse.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var CLI struct {
Rotate struct {
Format string `help:"compression format, if files are not removed" short:"g" default:"gz" enum:"snappy,gz,xz"`
SkipTruncate bool `help:"skip file truncation, don't empty compressed log files" short:"k"`
} `cmd:"" help:"rotate matching files, compress them and truncate everything older than max age"`
} `cmd:"" help:"rotate matching files, compress and truncate after successful compression"`

Remove struct {
Yes bool `help:"assume yes on remove affirmation query"`
Expand Down

0 comments on commit 9694fc7

Please sign in to comment.