summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-01-02 01:13:25 -0700
committerDan Allen <dan.j.allen@gmail.com>2022-01-02 01:13:25 -0700
commit42a739ac3aaf8a53452971a36f9f1cf257974a5c (patch)
tree738f3d64a09f2d44d52c2b1103edf8ff115ed53c /lib
parentd3de0f03097615ae10d378ecc3694c7a3f984b31 (diff)
change "show the backtrace" to "show backtrace" in CLI hint
Diffstat (limited to 'lib')
-rw-r--r--lib/asciidoctor/cli/invoker.rb2
-rw-r--r--lib/asciidoctor/cli/options.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/asciidoctor/cli/invoker.rb b/lib/asciidoctor/cli/invoker.rb
index 74103305..9a6437b3 100644
--- a/lib/asciidoctor/cli/invoker.rb
+++ b/lib/asciidoctor/cli/invoker.rb
@@ -142,7 +142,7 @@ module Asciidoctor
raise e
else
err.puts ::RuntimeError === e ? %(#{e.message} (#{e.class})) : e.message
- err.puts ' Use --trace to show the backtrace'
+ err.puts ' Use --trace to show backtrace'
end
end
nil
diff --git a/lib/asciidoctor/cli/options.rb b/lib/asciidoctor/cli/options.rb
index 15d013a6..39c92930 100644
--- a/lib/asciidoctor/cli/options.rb
+++ b/lib/asciidoctor/cli/options.rb
@@ -258,7 +258,7 @@ module Asciidoctor
raise $! if self[:trace]
$stderr.puts 'asciidoctor: FAILED: \'tilt\' could not be loaded'
$stderr.puts ' You must have the tilt gem installed (gem install tilt) to use custom backend templates'
- $stderr.puts ' Use --trace to show the backtrace'
+ $stderr.puts ' Use --trace to show backtrace'
return 1
rescue ::SystemExit
# not permitted here
@@ -278,7 +278,7 @@ module Asciidoctor
rescue ::LoadError
raise $! if self[:trace]
$stderr.puts %(asciidoctor: FAILED: '#{path}' could not be loaded)
- $stderr.puts ' Use --trace to show the backtrace'
+ $stderr.puts ' Use --trace to show backtrace'
return 1
rescue ::SystemExit
# not permitted here