Skip to content

Commit

Permalink
Add boot -c flag to nekotools help (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk authored Mar 27, 2023
1 parent 5d017b1 commit 846b6b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/tools/Tools.nml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@ try {
WebServer.init();
throw Done
}) , " : start a neko web server");
("boot", Args.String (function(_) {
// separated from boot -c only for help message
}) , "<file.n> : build a standalone executable");
("boot", Args.String (function(_) {
erase_argument();
neko "$loader.loadmodule('tools/nekoboot',$loader)";
throw Done;
}) , "<file.n> : build an standalone executable");
}) , "-c <file.n> : build a standalone c program");
];
Args.parse head decl invalid_arg;
} catch {
Expand Down

0 comments on commit 846b6b3

Please sign in to comment.