Ignore:
Timestamp:
Jun 4, 2010, 6:02:42 PM (14 years ago)
Author:
garnier
Message:

cvs update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/interfaces/common/src/G4VBasicShell.cc

    r1278 r1309  
    2525//
    2626//
    27 // $Id: G4VBasicShell.cc,v 1.15 2010/01/06 14:04:13 lgarnier Exp $
     27// $Id: G4VBasicShell.cc,v 1.14 2009/11/17 17:41:33 lgarnier Exp $
    2828// GEANT4 tag $Name:  $
    2929//
     
    244244       << GetCurrentWorkingDirectory() << G4endl;
    245245
    246   } else if( command(0,2) == "cd" ) {
     246  } else if( command == "cd" || command(0,3) == "cd ") {
    247247
    248248    ChangeDirectoryCommand ( command );
    249249
    250   } else if( command(0,4) == "help" ) {
     250  } else if( command == "help" || command(0,5) == "help ") {
    251251
    252252    TerminalHelp( command );
     
    256256    ShowCurrent( command );
    257257
    258   } else if( command(0,4) == "hist" ) {
     258  } else if( command == "hist" || command == "history") {
    259259
    260260    G4int nh = UI->GetNumberOfHistory();
     
    279279    }
    280280
    281   } else if( command(0,4) == "exit" ) {
     281  } else if( command == "exit" ) {
    282282
    283283    if( exitPause == false) { //In a secondary loop.
     
    290290    }
    291291
    292   } else if( command(0,4) == "cont" ) {
     292  } else if( command == "cont" || command == "continue"){
    293293
    294294    exitPause = true;
Note: See TracChangeset for help on using the changeset viewer.