diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-01-02 20:40:39 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-01-02 20:53:58 +0100 |
commit | d33d15a48b55eb81270a39b001c04bc61c42105f (patch) | |
tree | 9b9ef12664a5f14be0cf8c5bba1edb54ae4b651f /src/libutil/error.cc | |
parent | c548e3549850f224a232f8a74b5a9e2276070896 (diff) |
Put the --show-trace hint in the logical place
Diffstat (limited to 'src/libutil/error.cc')
-rw-r--r-- | src/libutil/error.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/error.cc b/src/libutil/error.cc index 7f7c27267..e4f0d4677 100644 --- a/src/libutil/error.cc +++ b/src/libutil/error.cc @@ -303,7 +303,7 @@ std::ostream & showErrorInfo(std::ostream & out, const ErrorInfo & einfo, bool s size_t count = 0; for (const auto & trace : einfo.traces) { if (!showTrace && count > 3) { - oss << "\n" << ANSI_ITALIC "(stack trace truncated)" ANSI_NORMAL << "\n"; + oss << "\n" << ANSI_WARNING "(stack trace truncated; use '--show-trace' to show the full trace)" ANSI_NORMAL << "\n"; break; } |