blob: 302fe98c1e36de7e4e4bf2e8c4a02bfc8be12543 [file] [log] [blame]
Robin Thellend4523df62014-12-08 09:55:46 -08001// This file was auto-generated via go generate.
2// DO NOT UPDATE MANUALLY
3
4/*
5gclogs is a utility that safely deletes old log files.
6
7It looks for file names that match the format of files produced by the vlog
8package, and deletes the ones that have not changed in the amount of time
9specified by the --cutoff flag.
10
11Only files produced by the same user as the one running the gclogs command are
12considered for deletion.
13
14Usage:
15 gclogs [flags] <dir> ...
16
17<dir> ... A list of directories where to look for log files.
18
19The gclogs flags are:
20 -cutoff=24h0m0s
21 The age cut-off for a log file to be considered for garbage collection.
22 -n=false
23 If true, log files that would be deleted are shown on stdout, but not
24 actually deleted.
25 -program=.*
26 A regular expression to apply to the program part of the log file name, e.g
27 ".*test".
28 -verbose=false
29 If true, each deleted file is shown on stdout.
30*/
31package main