From 66d2700faa45f5200d2e350bdf689e5d7e22908e Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 9 Jul 2019 22:13:22 -0400 Subject: [PATCH] clarify -F command-line option usage more --- lib/rscons/cli.rb | 2 +- lib/rscons/environment.rb | 2 +- spec/build_tests_spec.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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])