mirror of
https://github.com/cc65/cc65.git
synced 2024-12-28 06:30:16 +00:00
Added the --feature option
git-svn-id: svn://svn.cc65.org/cc65/trunk@312 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
6288682343
commit
6bf763ff08
@ -559,6 +559,7 @@ static void Usage (void)
|
||||
" --asm-include-dir dir\tSet an assembler include directory\n"
|
||||
" --debug\t\tDebug mode\n"
|
||||
" --debug-info\t\tAdd debug info\n"
|
||||
" --feature name\tSet an emulation feature\n"
|
||||
" --help\t\tHelp (this text)\n"
|
||||
" --include-dir dir\tSet a compiler include directory path\n"
|
||||
" --mapfile name\tCreate a map file\n"
|
||||
@ -605,6 +606,15 @@ static void OptDebugInfo (const char* Opt, const char* Arg)
|
||||
|
||||
|
||||
|
||||
static void OptFeature (const char* Opt, const char* Arg)
|
||||
/* Emulation features for the assembler */
|
||||
{
|
||||
CmdAddArg (&CA65, "--feature");
|
||||
CmdAddArg (&CA65, Arg);
|
||||
}
|
||||
|
||||
|
||||
|
||||
static void OptHelp (const char* Opt, const char* Arg)
|
||||
/* Print help - cl65 */
|
||||
{
|
||||
@ -682,6 +692,7 @@ int main (int argc, char* argv [])
|
||||
{ "--asm-include-dir", 1, OptAsmIncludeDir },
|
||||
{ "--debug", 0, OptDebug },
|
||||
{ "--debug-info", 0, OptDebugInfo },
|
||||
{ "--feature", 1, OptFeature },
|
||||
{ "--help", 0, OptHelp },
|
||||
{ "--include-dir", 1, OptIncludeDir },
|
||||
{ "--mapfile", 1, OptMapFile },
|
||||
|
Loading…
Reference in New Issue
Block a user