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
I simply switched compiler versions from GHC 7.6.3 to GHC 7.8.4, using the same cmdargs version, 0.10.13 and suddenly invoking --help on a subcommand reported a flag named --cmddatabaseurl instead of --database-url. The record field is cmdDatabaseUrl :: String.
I will try to come up with a minimal example soon.
The text was updated successfully, but these errors were encountered:
Yes it does. I guess I'll use it until I convert everything to the Explicit variant.
Thanks for the quick reply and the workaround. I now think I've seen the suggestion elsewhere, maybe by you on reddit or twitter or in the doc. Thanks!
It's worth noting that -fno-cse doesn't help if the "config" type has strict fields, in which case the annotations are ignored again. For example, using the README's first example
I simply switched compiler versions from GHC 7.6.3 to GHC 7.8.4, using the same cmdargs version, 0.10.13 and suddenly invoking
--help
on a subcommand reported a flag named--cmddatabaseurl
instead of--database-url
. The record field iscmdDatabaseUrl :: String
.I will try to come up with a minimal example soon.
The text was updated successfully, but these errors were encountered: