X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Foptions.c;h=aab7d13d9dddd2452961f57efad5f56877996601;hb=b1fbb635cdd64e96bf36a62dc6b59d6724f5ad57;hp=e32f81155230d7fa1a840829c82773ed9632c40f;hpb=ec415e2315bfcf647e07febba35db4ef709b27d0;p=emu8051.git diff --git a/src/options.c b/src/options.c index e32f811..aab7d13 100644 --- a/src/options.c +++ b/src/options.c @@ -23,24 +23,13 @@ char *hex_file; -char * -GetHexFileName( void ) -{ - return hex_file; -} - - /******************************************************************************* * Display the help message and exit ******************************************************************************/ static void DisplayUsage( void ) { - printf( "Usage: %s [OPTION]... [FILENAME]\n", PACKAGE ); - printf( "Simulator/emulator for 8051 family microcontrollers.\n\n" ); - printf( " -h display this help and exit\n" ); - printf( " -version display version information and exit\n"); - printf( "\n" ); + printf( COMMAND_LINE_OPTIONS ); } @@ -52,7 +41,7 @@ DisplayVersion( void ) { printf( "\n" ); printf( " %s, version %s\n", PACKAGE, VERSION ); - printf( " Written by Hugo Villeneuve, Jonathan St-André and Pascal Fecteau.\n\n" ); + printf( " Written by Jonathan St-André, Pascal Fecteau and Hugo Villeneuve\n\n" ); }