summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-05-26 13:57:58 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-05-30 13:45:25 -0400
commit18326ad29b315ed9f086672c38b2c8f611bc7d19 (patch)
treecd665b89de0691de57be8cc1faa8bbee3be212cb
parentd8901469223bac82ed29cb9f5e5e42bf5e927f68 (diff)
downloadhaskell-18326ad29b315ed9f086672c38b2c8f611bc7d19.tar.gz
rts: Remove explicit timescale for deprecating -h flag
We originally planned to remove the flag in 9.4 but there's actually no great rush to do so and it's probably less confusing (forever) to keep the message around suggesting an explicit profiling option. Fixes #21545
-rw-r--r--rts/RtsFlags.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c
index 6146cfb989..b99e315083 100644
--- a/rts/RtsFlags.c
+++ b/rts/RtsFlags.c
@@ -1449,7 +1449,7 @@ error = true;
#if !defined(PROFILING)
switch (rts_argv[arg][2]) {
case '\0':
- errorBelch("-h is deprecated and will be removed in the next release (9.4),\nuse -hT instead.");
+ errorBelch("-h is deprecated, use -hT instead.");
FALLTHROUGH;
case 'T':
@@ -2214,7 +2214,7 @@ static bool read_heap_profiling_flag(const char *arg)
bool error = false;
switch (arg[2]) {
case '\0':
- errorBelch("-h is deprecated and will be removed in the next release (9.4),\nuse -hc instead.");
+ errorBelch("-h is deprecated, use -hc instead.");
FALLTHROUGH;
case 'C':
case 'c':