mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:15:06 +00:00
js: Make the -l command-line argument actually work
This commit is contained in:
parent
343e224aa8
commit
8705c5ffeb
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ int main(int argc, char** argv)
|
|||
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.add_option(dump_ast, "Dump the AST", "ast-dump", 'A');
|
||||
args_parser.add_option(dump_ast, "Print last result", "print-last-result", 'l');
|
||||
args_parser.add_option(print_last_result, "Print last result", "print-last-result", 'l');
|
||||
args_parser.add_option(gc_on_every_allocation, "GC on every allocation", "gc-on-every-allocation", 'g');
|
||||
args_parser.add_positional_argument(script_path, "Path to script file", "script");
|
||||
args_parser.parse(argc, argv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue