X-Git-Url: http://www.git.cypherpunks.ru/?p=goredo.git;a=blobdiff_plain;f=usage.go;h=670da2abdecfe7dd5b7f9d7a7bc811d2cc09f252;hp=81e954dad5599880ec4b10ff0c6e853ffdeb23a8;hb=cb183690cc59ad772dab941adc3e9b8d5b90fbc0;hpb=5dfe4d08937cc9cb2f39558359ea4df2f1e830b0 diff --git a/usage.go b/usage.go index 81e954d..670da2a 100644 --- a/usage.go +++ b/usage.go @@ -24,7 +24,7 @@ import ( ) const ( - Version = "1.4.1" + Version = "1.5.0" Warranty = `Copyright (C) 2020-2021 Sergey Matveev This program is free software: you can redistribute it and/or modify @@ -46,7 +46,8 @@ func usage(cmd string) { case "redo": d = `Usage: redo [options] [target ...] -Forcefully and *sequentially* build specified targets.` +Forcefully and *sequentially* build specified targets. +If no targets specified, then use "all" one.` case "redo-ifchange": d = `Usage: redo-ifchange target [...] @@ -87,15 +88,15 @@ 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 + d = `Usage: redo-targets [target ...] List all currently known targets.` case "redo-sources": - d = `Usage: redo-sources + d = `Usage: redo-sources [target ...] List all currently known source files.` case "redo-ood": - d = `Usage: redo-ood + d = `Usage: redo-ood [target ...] List all currently known out-of-date targets.` default: @@ -103,7 +104,8 @@ List all currently known out-of-date targets.` 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.` +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()