Exemple #1
0
void VTOutput::failure(TCLAP::CmdLineInterface& c, TCLAP::ArgException& e)
{
    std::clog << "\n";
    std::clog << "  " << e.what() << "\n\n";
    usage(c);
    exit(1);
}
//----------------------------------------------------------------------------------------
void cci_cli_output::failure( tclap::CmdLineInterface& c , tclap::ArgException& e )
{
        m_tmu->color(  stamp_color::red );
        m_tmu->time_stamp();
        std::cerr << "failure in parse args : "
                  << "\n"
                  << e.what()
                  << "\n";
        m_tmu->clear_color();

        usage( c  );

        exit( 1 );
}