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