1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-17 09:07:32 +00:00

Initialize command line to make ProgName valid

git-svn-id: svn://svn.cc65.org/cc65/trunk@75 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2000-06-14 10:02:48 +00:00
parent cf71093fe9
commit 1b25672550

View File

@ -38,6 +38,7 @@
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#include "../common/cmdline.h"
#include "../common/version.h" #include "../common/version.h"
#include "global.h" #include "global.h"
@ -76,6 +77,9 @@ int main (int argc, char* argv [])
{ {
int I; int I;
/* Initialize the cmdline module */
InitCmdLine (argc, argv, "ar65");
/* We must have a file name */ /* We must have a file name */
if (argc < 2) { if (argc < 2) {
Usage (); Usage ();