mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +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:
parent
cf71093fe9
commit
1b25672550
@ -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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user