Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
curry-packages
opt-parse
Commits
866efa3e
Commit
866efa3e
authored
Oct 24, 2017
by
Michael Hanus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small bug fix for parsing --options
parent
880d8ed2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/OptParse.curry
src/OptParse.curry
+1
-1
No files found.
src/OptParse.curry
View file @
866efa3e
...
...
@@ -321,7 +321,7 @@ renderCommandLine [] = []
renderCommandLine ((Val s):as) = s ++ " " ++ (renderCommandLine as)
renderCommandLine ((FlagWithValue n v):as) =
"--" ++ n ++ "=" ++ v ++ " " ++ (renderCommandLine as)
renderCommandLine ((Flag n):as) = "-" ++ n ++ " " ++ (renderCommandLine as)
renderCommandLine ((Flag n):as) = "-
-
" ++ n ++ " " ++ (renderCommandLine as)
--- Further parses a parsed command line using a parser spec.
---
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment