]> Cypherpunks.ru repositories - goredo.git/blobdiff - usage.go
redo-sources, redo-targets, redo-ood
[goredo.git] / usage.go
index 52a27685dabc574f4470b61d132e44f0866c215e..80bea559a98c7f6bb9e1bcc89759e5fe35aeb04e 100644 (file)
--- a/usage.go
+++ b/usage.go
@@ -86,6 +86,18 @@ anyway.`
 
 Display .do search paths for specified target. Exits successfully
 if the last .do in output if the found existing one.`
+       case "redo-targets":
+               d = `Usage: redo-targets
+
+List all currently known targets.`
+       case "redo-sources":
+               d = `Usage: redo-sources
+
+List all currently known source files.`
+       case "redo-ood":
+               d = `Usage: redo-ood
+
+List all currently known out-of-date targets.`
        default:
                d = `Usage: goredo -symlinks
 
@@ -93,7 +105,7 @@ 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-stamp, redo-whichdo.`
        }
-       fmt.Fprintf(os.Stderr, "%s\n\nOptions:\n", d)
+       fmt.Fprintf(os.Stderr, "%s\n\nCommon options:\n", d)
        flag.PrintDefaults()
        fmt.Fprintln(os.Stderr, `
 Additional environment variables: