crash on args.getopt
Tobias Pankrath via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jan 25 02:42:37 PST 2015
On Sunday, 25 January 2015 at 10:21:34 UTC, Suliman wrote:
> But is it good practice to fail with exception during passing
> unknown parameters? Maybe std.getopt.config.passThrough should
> be as default?
>
> I really can't remember Apps that crush if pass to in unknown
> parameters.
Almost all programs fail with an error message, if you pass
unknown parameter. Just catch that exception.
More information about the Digitalmars-d-learn
mailing list