clarify -F command-line option usage more

This commit is contained in:
josh committed 2019-07-09 23:06:45 -04:00
1 parent ba98af1424
commit 66d2700faa
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ USAGE = <<EOF
Usage: #{$0} [global options] [operation] [operation options]
Global options:
-F, --show-failure Show previous failed command(s) and exit
-F, --show-failure Show failed command log from previous build and exit
--version Show rscons version and exit
-h, --help Show rscons help and exit
-r COLOR, --color=COLOR Set color mode (off, auto, force)
+1 -1
View File
@@ -284,7 +284,7 @@ module Rscons
unless @process_failures.empty?
msg = @process_failures.join("\n")
if Cache.instance["failed_commands"].size > 0
msg += "\nRun `#{$0} -F` to see the failed command(s)."
msg += "\nUse -F to view the failed command log from the previous build operation"
end
raise BuildError.new(msg)
end