pass over base layer command line parsing. do not assume debugger-style 'treat all after first non-option input as passthrough options'. most things do not want that - the debugger can still get it by doing a quick secondary parse

This commit is contained in:
Ryan Fleury
2025-06-10 09:46:46 -07:00
parent 49de09883e
commit 7205b7d1ab
8 changed files with 96 additions and 81 deletions
+1 -2
View File
@@ -39,9 +39,8 @@ struct CmdLine
};
////////////////////////////////
//~ NOTE(rjf): Command Line Option Parsing
//~ rjf: Command Line Parsing Functions
internal U64 cmd_line_hash_from_string(String8 string);
internal CmdLineOpt** cmd_line_slot_from_string(CmdLine *cmd_line, String8 string);
internal CmdLineOpt* cmd_line_opt_from_slot(CmdLineOpt **slot, String8 string);
internal void cmd_line_push_opt(CmdLineOptList *list, CmdLineOpt *var);