Changeset 1309 for trunk/source/interfaces/common
- Timestamp:
- Jun 4, 2010, 6:02:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/interfaces/common/src/G4VBasicShell.cc
r1278 r1309 25 25 // 26 26 // 27 // $Id: G4VBasicShell.cc,v 1.1 5 2010/01/06 14:04:13 lgarnier Exp $27 // $Id: G4VBasicShell.cc,v 1.14 2009/11/17 17:41:33 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 244 244 << GetCurrentWorkingDirectory() << G4endl; 245 245 246 } else if( command (0,2) == "cd" ) {246 } else if( command == "cd" || command(0,3) == "cd ") { 247 247 248 248 ChangeDirectoryCommand ( command ); 249 249 250 } else if( command (0,4) == "help" ) {250 } else if( command == "help" || command(0,5) == "help ") { 251 251 252 252 TerminalHelp( command ); … … 256 256 ShowCurrent( command ); 257 257 258 } else if( command (0,4) == "hist") {258 } else if( command == "hist" || command == "history") { 259 259 260 260 G4int nh = UI->GetNumberOfHistory(); … … 279 279 } 280 280 281 } else if( command (0,4)== "exit" ) {281 } else if( command == "exit" ) { 282 282 283 283 if( exitPause == false) { //In a secondary loop. … … 290 290 } 291 291 292 } else if( command (0,4) == "cont" ) {292 } else if( command == "cont" || command == "continue"){ 293 293 294 294 exitPause = true;
Note: See TracChangeset
for help on using the changeset viewer.