From e3823b529337ddc0b038c3f498535d7e3582c4fa Mon Sep 17 00:00:00 2001 From: Sdywolf Date: Tue, 29 Oct 2024 12:02:43 +0800 Subject: [PATCH 1/3] remove text for sandbox in replCommand --- Cabal/src/Distribution/Simple/Setup/Repl.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cabal/src/Distribution/Simple/Setup/Repl.hs b/Cabal/src/Distribution/Simple/Setup/Repl.hs index 4321a9466cb..4451457da1b 100644 --- a/Cabal/src/Distribution/Simple/Setup/Repl.hs +++ b/Cabal/src/Distribution/Simple/Setup/Repl.hs @@ -133,8 +133,7 @@ replCommand progDb = , commandDescription = Just $ \pname -> wrapText $ "If the current directory contains no package, ignores COMPONENT " - ++ "parameters and opens an interactive interpreter session; if a " - ++ "sandbox is present, its package database will be used.\n" + ++ "parameters and opens an interactive interpreter session.\n " ++ "\n" ++ "Otherwise, (re)configures with the given or default flags, and " ++ "loads the interpreter with the relevant modules. For executables, " From bdeb4e6755fdcb1553773341fd6764e201f79fce Mon Sep 17 00:00:00 2001 From: Sdywolf Date: Thu, 31 Oct 2024 01:01:58 +0800 Subject: [PATCH 2/3] delete white-space after '\n' in a string --- Cabal/src/Distribution/Simple/Setup/Repl.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cabal/src/Distribution/Simple/Setup/Repl.hs b/Cabal/src/Distribution/Simple/Setup/Repl.hs index 4451457da1b..7d53ca33668 100644 --- a/Cabal/src/Distribution/Simple/Setup/Repl.hs +++ b/Cabal/src/Distribution/Simple/Setup/Repl.hs @@ -133,7 +133,7 @@ replCommand progDb = , commandDescription = Just $ \pname -> wrapText $ "If the current directory contains no package, ignores COMPONENT " - ++ "parameters and opens an interactive interpreter session.\n " + ++ "parameters and opens an interactive interpreter session.\n" ++ "\n" ++ "Otherwise, (re)configures with the given or default flags, and " ++ "loads the interpreter with the relevant modules. For executables, " From 5913791bb9a0b5e04cd97ababa99f7ad36b87967 Mon Sep 17 00:00:00 2001 From: Sdywolf Date: Thu, 31 Oct 2024 11:31:39 +0800 Subject: [PATCH 3/3] Add changelog --- changelog.d/pr-10493 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 changelog.d/pr-10493 diff --git a/changelog.d/pr-10493 b/changelog.d/pr-10493 new file mode 100644 index 00000000000..ec4beabe2df --- /dev/null +++ b/changelog.d/pr-10493 @@ -0,0 +1,11 @@ +synopsis: Remove descriptions for sandbox in replCommand +packages: Cabal +prs: #10493 +issues: #10482 +significance: significant + +description: { + +- Text provided by `Setup.hs repl --help` contained outdated information concerning sandbox, which have now been removed. + +} \ No newline at end of file