]> Cypherpunks.ru repositories - goredo.git/blobdiff - usage.go
Fix lack of .redo-prefix in temporary files
[goredo.git] / usage.go
index 9d929e3cd8e0449ab2d159af18c3c3845cba533a..a4db6e444ad8c38cd81a85510171c62d4f6ec7ca 100644 (file)
--- a/usage.go
+++ b/usage.go
@@ -24,7 +24,7 @@ import (
 )
 
 const (
-       Version  = "1.22.0"
+       Version  = "1.27.1"
        Warranty = `Copyright (C) 2020-2022 Sergey Matveev
 
 This program is free software: you can redistribute it and/or modify
@@ -105,13 +105,18 @@ List all currently known out-of-date targets.`
                d = `Usage: redo-affects target [...]
 
 List all targets that will be affected by changing the specified ones.`
+       case CmdNameRedoDepFix:
+               d = `Usage: redo-depfix
+
+Traverse over all .redo directories beneath and check if inode's information
+(ctime/mtime) differs. Update dependency if file's content is still the same.`
        default:
                d = `Usage: goredo -symlinks
 
 goredo expects to be called through the symbolic link to it.
 Available commands: redo, redo-affects, redo-always, redo-cleanup,
-redo-dot, redo-ifchange, redo-ifcreate, redo-log, redo-ood,
-redo-sources, redo-stamp, redo-targets, redo-whichdo.`
+redo-depfix, redo-dot, redo-ifchange, redo-ifcreate, redo-log,
+redo-ood, redo-sources, redo-stamp, redo-targets, redo-whichdo.`
        }
        fmt.Fprintf(os.Stderr, "%s\n\nCommon options:\n", d)
        flag.PrintDefaults()