X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=usage.go;h=f14ad7edbad9005cbec851e09f9725fab65d1146;hb=6dce71355599d4caf8267f6f02520037480f7ba3;hp=1c63fd03f3cd23d311db9813b271a6cd1761c66b;hpb=e1afa1a3b0f7e4e06f636f584a47bb8cfc885e7c;p=goredo.git diff --git a/usage.go b/usage.go index 1c63fd0..f14ad7e 100644 --- a/usage.go +++ b/usage.go @@ -24,7 +24,7 @@ import ( ) const ( - Version = "1.33.0" + Version = "2.0.0" Warranty = `Copyright (C) 2020-2023 Sergey Matveev This program is free software: you can redistribute it and/or modify @@ -108,19 +108,21 @@ 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.` +Traverse over all .redo directories beneath and recalculate each target's +inode and hash information, rewriting dependency files. If dependency has +legacy .rec format, then it will be converted to .dep one.` case CmdNameRedoInode: d = `Usage: redo-inode target [...] -Just calcuate inode information about each target and print in recfile format.` +Just calculate inode information about each target and print in recfile format.` 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-depfix, redo-dot, redo-ifchange, redo-ifcreate, redo-log, -redo-ood, redo-sources, redo-stamp, redo-targets, redo-whichdo.` +redo-dep2rec, redo-depfix, redo-dot, redo-ifchange, redo-ifcreate, +redo-inode, redo-log, redo-ood, redo-sources, redo-stamp, +redo-targets, redo-whichdo.` } fmt.Fprintf(os.Stderr, "%s\n\nCommon options:\n", d) flag.PrintDefaults()