diff --git a/lib/rscons/cli.rb b/lib/rscons/cli.rb index 2689785..01c027f 100644 --- a/lib/rscons/cli.rb +++ b/lib/rscons/cli.rb @@ -5,7 +5,7 @@ USAGE = < 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 diff --git a/spec/build_tests_spec.rb b/spec/build_tests_spec.rb index 1765167..9428216 100644 --- a/spec/build_tests_spec.rb +++ b/spec/build_tests_spec.rb @@ -998,7 +998,7 @@ EOF result = run_rscons expect(result.stderr).to match /Failed to build/ - expect(result.stderr).to match /^Run.*-F.*to see the failed command/ + expect(result.stderr).to match /^Use.*-F.*to view the failed command log/ expect(result.status).to_not eq 0 result = run_rscons(rscons_args: %w[-F])