Files
Toy/source/debug.h
2022-08-03 14:06:54 +01:00

22 lines
419 B
C

#pragma once
#include "common.h"
//for processing the command line arguments
typedef struct {
bool error;
bool help;
bool version;
char* filename;
char* source;
bool verbose;
} Command;
extern Command command;
void initCommand(int argc, const char* argv[]);
void usageCommand(int argc, const char* argv[]);
void helpCommand(int argc, const char* argv[]);
void copyrightCommand(int argc, const char* argv[]);