You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test case:
---
unittest
{
import std.getopt;
auto args = ["exe", "-h"];
int intFlag = 5;
auto result = getopt(args, config.caseSensitive | config.bundling, "H", &intFlag);
assert(intFlag == 5);
assert(result.helpWanted);
}
---
It's normal with logically composable enums to be able to or them together. This doesn't work for std.getopt. If it compiles, it should do the right thing.
The text was updated successfully, but these errors were encountered:
dhasenan (@dhasenan) reported this on 2018-11-03T18:37:33Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=19362
Description
The text was updated successfully, but these errors were encountered: