X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fcommon%2Foptions.h;h=f5c4452a9d0b2c67254836f18377c534409b6209;hb=121bcb38f29409f10de63a68d86620c4beb75c97;hp=589c2d56949303441df50763e41be0c76ebfe4d6;hpb=1eb382f72510d50b3636fb88c4bfaf17183672b6;p=emu8051.git diff --git a/src/common/options.h b/src/common/options.h index 589c2d5..f5c4452 100644 --- a/src/common/options.h +++ b/src/common/options.h @@ -3,31 +3,18 @@ * * Copyright (C) 1999 Hugo Villeneuve * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * This file is released under the GPLv2 */ #ifndef OPTIONS_H #define OPTIONS_H 1 -#define COMMAND_LINE_OPTIONS \ - "Usage: " PACKAGE " [OPTION]... [FILENAME]\n" \ - "Simulator/emulator for 8051 family microcontrollers.\n\n" \ - " -h display this help and exit\n" \ - " -version display version information and exit\n" +#define PACKAGE_COPYRIGHT "(c) Hugo Villeneuve" + +#define PACKAGE_DESCRIPTION "Emulator for 8051 family microcontrollers" struct options_t { + char *g; int pram_size; /* Maximum program memory size. */ int iram_size; /* Maximum internal ram size. */ int xram_size; /* Maximum external ram size. */ @@ -39,7 +26,4 @@ struct options_t { void parse_command_line_options(int argc, char *argv[]); -const char * -get_package_description(void); - #endif /* OPTIONS_H */