On Friday, 1 September 2017 at 19:04:39 UTC, Daniel Kozak wrote:
I have same issue. How this help you? Catching exception does
not help. How do I catch exception and still print help message?
Your are correct, sorry about that. What my response showed is
how to avoid printing the full stack
I have same issue. How this help you? Catching exception does not help.
How do I catch exception and still print help message?
Dne 1. 9. 2017 8:10 odpoledne napsal uživatel "Vino.B via
Digitalmars-d-learn" :
On Friday, 1 September 2017 at 17:23:01 UTC, Jon
On Friday, 1 September 2017 at 17:23:01 UTC, Jon Degenhardt wrote:
On Friday, 1 September 2017 at 13:13:39 UTC, Vino.B wrote:
Hi All,
When i run the below program without any arguments "D1.d -r"
it is throwing error, but i need it to show the help menu
[snip...]
Hi Vino,
To get good
On Friday, 1 September 2017 at 13:13:39 UTC, Vino.B wrote:
Hi All,
When i run the below program without any arguments "D1.d -r"
it is throwing error, but i need it to show the help menu
[snip...]
Hi Vino,
To get good error message behavior you need to put the construct
in a try-catch
Hi All,
When i run the below program without any arguments "D1.d -r" it
is throwing error, but i need it to show the help menu
Program:
import std.stdio;
import std.getopt;
string r;
void main (string[] args)
{
getopt(args, std.getopt.config.caseInsensitive,