summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-15 00:22:37 -0500
committerJeff Carr <[email protected]>2025-10-15 00:29:51 -0500
commit05653e8195865d70f6255ff7aeae6eb276197092 (patch)
tree55c22c00339533254f6709eb137c122fa600dc69 /argv.go
parentb7c2f78414f1b7113d4f760b81b51d7b6758ea35 (diff)
add mtime checks like 'make' for smarter automation
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/argv.go b/argv.go
index 909df65..c90d486 100644
--- a/argv.go
+++ b/argv.go
@@ -30,8 +30,8 @@ type args struct {
Comments bool `arg:"--format-comments" help:"enforce parseable comments in a .proto file"`
NoFormat bool `arg:"--no-format" help:"do not auto-reformat the .proto file"`
Renumber bool `arg:"--renumber" help:"renumber everything. obviously breaks backwards compatiblity"`
- Clean bool `arg:"--clean" help:"clean out any *pb.go files; bypassing ctime sanity checks"`
- Ctime bool `arg:"--ctime" help:"do os.Stat() createtime sanity checks"`
+ Clean bool `arg:"--clean" help:"clean out any *pb.go files; bypassing mtime sanity checks"`
+ Mtime bool `arg:"--mtime" help:"do os.Stat() modtime sanity checks"`
GoSrc string `arg:"--go-src" help:"default is ~/go/src. could be set to your go.work path"`
GoPath string `arg:"--gopath" help:"the gopath of this repo"`
Identify string `arg:"--identify" help:"identify file"`