X-Git-Url: http://www.git.cypherpunks.ru/?p=goredo.git;a=blobdiff_plain;f=usage.go;h=b18c93b4d00a685df7a12b3f03710cbe0b4016d0;hp=670da2abdecfe7dd5b7f9d7a7bc811d2cc09f252;hb=ca5290c19761bc1806b98d54d966a9cbbfeabd15;hpb=009b34e1c2f6bfe89b33d96697879b33d9b901dc diff --git a/usage.go b/usage.go index 670da2a..b18c93b 100644 --- a/usage.go +++ b/usage.go @@ -24,7 +24,7 @@ import ( ) const ( - Version = "1.5.0" + Version = "1.6.0" Warranty = `Copyright (C) 2020-2021 Sergey Matveev This program is free software: you can redistribute it and/or modify @@ -99,13 +99,17 @@ List all currently known source files.` d = `Usage: redo-ood [target ...] List all currently known out-of-date targets.` + case "redo-affects": + d = `Usage: redo-affects target [...] + +List all targets that will be affected by changing the specified ones.` default: d = `Usage: goredo -symlinks goredo expects to be called through the symbolic link to it. -Available commands: redo, redo-always, redo-cleanup, redo-dot, -redo-ifchange, redo-ifcreate, redo-log, redo-ood, redo-sources, -redo-stamp, redo-targets, redo-whichdo.` +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.` } fmt.Fprintf(os.Stderr, "%s\n\nCommon options:\n", d) flag.PrintDefaults()