Skip to content

Commit

Permalink
Merge pull request #1339 from ErikSchierboom/fschelper-debug
Browse files Browse the repository at this point in the history
Fix Fsc short toggle argument format. Fixes #1218
  • Loading branch information
forki authored Aug 1, 2016
2 parents da4fa14 + 557fa31 commit da404eb
Showing 1 changed file with 1 addition and 1 deletion.
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 compiler arg that ends with "+" or "-" with string parameters "--%s%s:\"%s\""
Expand Down

0 comments on commit da404eb

Please sign in to comment.