All pastes #752800 Raw Edit

Miscellany

public text v1 · immutable
#752800 ·published 2007-10-28 19:09 UTC
rendered paste body
    context.set_main_group(my_option_group);
    try
    {
        context.parse(argc, argv);
    }
    catch (Glib::OptionError& e)
    {
        cerr << "Error " << e.code() << ": " << e.what() << endl;
    }

    if (argc <= 2)
    {
        cerr << "Missing filename" << endl;
    }