- Make GUI a little bit more responsive. Still doesn't scroll

to the end of output
- Use GraphicalTerminalIO::read_command into GraphicalTerminalIO::onSend()
as per specs (fixes a program crash)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@552 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-03-18 10:50:16 +00:00
parent b821b94b85
commit 9dc21270a2
4 changed files with 49 additions and 13 deletions

View file

@ -93,7 +93,8 @@ parse_options(int& argc, char**& argv)
default :
display_help();
}
} while( opt != -1 );
}
while( opt != -1 );
// Set these two to start from additional filenames on the cmdline:
argc -= optind;
@ -105,7 +106,7 @@ void
display_help()
{
printf( _("SGPEMv2 is an educational software acting as a process scheduling simulator\n"
"\n\nUsage : sgpemv2 [options]" // filenames"
"\n\nUsage : sgpemv2 [options] filename"
"\n\nOptions:\n"
"\t-h, --help this help you're reading\n"
"\t-N, --no-gui starts the program in command line mode\n"
@ -115,9 +116,9 @@ display_help()
"\t-M dir, --modules-dir=dir\n"
"\t add this directory to default plugin\n"
"\t search path\n"
"\nFilenames:\n"
"\t a list of any valid SGPEMv2 XML file\n"
"\t to be opened, space-separated.\n"
"\nFilename:\n"
"\t a valid SGPEMv2 XML file\n"
"\t to be opened.\n"
"\nLong options are available only on GNU systems.\n\n" ) );
exit(0);
}