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
uint64_t speciations_per_habitat;
app.add_option("-sph,--speciations-per-habitat", speciations_per_habitat, "how many events should be simulated before simulation stops")->required();
and it just threw
I changed it to
uint64_t speciations_per_habitat;
app.add_option("-t,--maxt", speciations_per_habitat, "how many events should be simulated before simulation stops")->required();
and now everything works.
having dashes in the long command leads to the long command not beeing recognized. so even if I had kept --speciations-per-habitat, the cli parser would ask for the option even if had added it into the command line
The text was updated successfully, but these errors were encountered:
-sph is likely the cause of the problem. That is a non-standard option name. Short options with more than 1 character are not allowed unless you enabled them with .allow_non_standard_option_names() on the app. This was added not that long ago in the code for main.
I added the option
and it just threw
I changed it to
and now everything works.
having dashes in the long command leads to the long command not beeing recognized. so even if I had kept
--speciations-per-habitat
, the cli parser would ask for the option even if had added it into the command lineThe text was updated successfully, but these errors were encountered: