Added a comment

This commit is contained in:
jkniiv 2022-10-06 06:21:40 +00:00 committed by admin
parent 5761ea969f
commit c9bf143fc8

View file

@ -0,0 +1,29 @@
[[!comment format=mdwn
username="jkniiv"
avatar="http://cdn.libravatar.org/avatar/05fd8b33af7183342153e8013aa3713d"
subject="comment 1"
date="2022-10-06T06:21:40Z"
content="""
That seems to be a simple typo where the latter/duplicate definition should be named `paramRepository` instead.
The following fixes the build:
[[!format diff \"\"\"
diff --git a/CmdLine/Usage.hs b/CmdLine/Usage.hs
index f3434d709..65879f7c3 100644
--- a/CmdLine/Usage.hs
+++ b/CmdLine/Usage.hs
@@ -60,8 +60,8 @@ paramNumRange :: String
paramNumRange = \"NUM|RANGE\"
paramRemote :: String
paramRemote = \"REMOTE\"
-paramRemote :: String
-paramRemote = \"REPOSITORY\"
+paramRepository :: String
+paramRepository = \"REPOSITORY\"
paramField :: String
paramField = \"FIELD\"
paramGlob :: String
\"\"\"]]
Windows tests are A-OK also.
"""]]