Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_main.cpp

    r20 r26  
    1818  if(argc>2){
    1919    cout << "error : argument must be a file name or nothing" << endl;
     20    cout << "usage : Viewer [file]" << endl;
    2021    return 0;
    2122  }
    2223
    2324  Parse *par = new Parse();
    24 
     25 
    2526 
    2627   QApplication *a=new QApplication (argc,argv); 
    2728   
    28    if(argc == 2){
    29      if(par->open_file(argv[1])==-1){
     29  if(argc == 2){
     30     if(par->open_file(argv[1],0)==-1){
    3031        cout << "file doesn't exist or is not a valid format" << endl; 
    3132        exit(1);
Note: See TracChangeset for help on using the changeset viewer.