Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Fsc short toggle argument format. Fixes #1218 #1339

Merged
merged 1 commit into from
Aug 1, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/FakeLib/FscHelper.fs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ type FscParam =
/// format a compiler arg that ends with "+" or "-": "--%s%s"
let togl s b = sprintf "--%s%s" s (chk b)
/// format a short form compiler arg that ends with "+" or "-": "-%s%s"
let stogl s b = sprintf "-%s%s" s (chk b) // for short forms
let stogl s b = if b then sprintf "-%s" s else "" // for short forms
/// format a list of compiler args with string parameters "--%s:\"%s\""
let argls s (ls:string list) = sprintf "--%s:\"%s\"" s (String.concat ";" ls)
/// format a complier arg that ends with "+" or "-" with string parameters "--%s%s:\"%s\""
Expand Down