Skip to content

Commit

Permalink
Fix usage of cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluhm committed Dec 24, 2023
1 parent 29984de commit c8c9556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cleanup.pl
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
my %opts;
getopts('d:m:nvw:y:', \%opts) or do {
print STDERR <<"EOF";
usage: cleanup.pl [-nv] [-m months] [-w weeks]
usage: cleanup.pl [-nv] [-d days] [-m months] [-w weeks] [-y years]
-d days remove log and obj tgz older than days, default 3
-m months thin out directories older than months, default 1
-n do not clean, just display obsolete directories
-v verbose
-w weeks remove setup and run log than weeks, default 4
-w weeks remove setup and run log older than weeks, default 4
-y years remove all directories older than years, default 1
EOF
exit(2);
Expand Down

0 comments on commit c8c9556

Please sign in to comment.