X-Git-Url: http://www.git.cypherpunks.ru/?p=goredo.git;a=blobdiff_plain;f=usage.go;h=80bea559a98c7f6bb9e1bcc89759e5fe35aeb04e;hp=52a27685dabc574f4470b61d132e44f0866c215e;hb=609842c96d2bb25c509f3d2949fe26f60ec03a5f;hpb=6f6dd2ce966c3c6c2f7d49f13498c192cffc1ea4 diff --git a/usage.go b/usage.go index 52a2768..80bea55 100644 --- 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: