Commit 00090f8e authored by quasicomputational's avatar quasicomputational
Browse files

Correct formatting of the legacy command name warning

We don't need to hard-wrap the message as we originate it, since
that's handled elsewhere.
parent 4bdf54d3
......@@ -112,9 +112,9 @@ deprecationNote :: String -> String
deprecationNote cmd =
"The " ++ cmd ++ " command is a part of the legacy v1 style of cabal usage.\n\n" ++
"Please switch to using either the new project style and the ++ new-" ++ cmd ++
"command or the legacy v1-" ++ cmd ++ "\nalias as new-style projects will\n" ++
"become the default in the next version of cabal-install. Please file a\n" ++
"Please switch to using either the new project style and the new-" ++ cmd ++
" command or the legacy v1-" ++ cmd ++ "alias as new-style projects will" ++
"become the default in the next version of cabal-install. Please file a" ++
"bug if you cannot replicate a working v1- use case with the new-style commands.\n\n" ++
"For more information, see: https://wiki.haskell.org/Cabal/NewBuild\n"
......@@ -123,8 +123,8 @@ legacyNote :: String -> String
legacyNote cmd =
"The v1-" ++ cmd ++ " command is a part of the legacy v1 style of cabal usage.\n\n" ++
"It is a legacy feature and will be removed in a future release of cabal-install.\n" ++
"Please file a bug if you cannot replicate a working v1- use case with the new-style\n" ++
"It is a legacy feature and will be removed in a future release of cabal-install." ++
"Please file a bug if you cannot replicate a working v1- use case with the new-style" ++
"commands.\n\n" ++
"For more information, see: https://wiki.haskell.org/Cabal/NewBuild\n"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment