Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2b3cc4d

Browse files
committedJul 26, 2018
Send ini flags in a more-compatible way
The flag parser was confused with flags separated by spaces, resulting in inconsistent behaviour where flags were discarded
1 parent 2133d40 commit 2b3cc4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ func parseIni(filename string) (args []string, err error) {
502502
if key == "name" {
503503
continue
504504
}
505-
args = append(args, "-"+key, val)
505+
args = append(args, "-"+key+"="+val)
506506
}
507507
}
508508

0 commit comments

Comments
 (0)
Please sign in to comment.