This commit is contained in:
Nishi 2026-05-08 05:18:35 +09:00
commit fcc88de8d3
Signed by: nishi
GPG key ID: 27EF69B208EB9343
10 changed files with 192 additions and 7 deletions

13
src/js/cmdline.js Normal file
View file

@ -0,0 +1,13 @@
if(ARGV.length == 1){
console.log("Type '" + ARGV[0] + " --help' for help");
process.exit(1);
}
for(var i = 1; i < ARGV.length; i++){
if(ARGV[i] == "--help"){
console.log("PMake " + pmake.VERSION + " - Pyrite's build script generator");
console.log("");
console.log("Usage: " + ARGV[0] + " [options] action [arguments]");
process.exit(0);
}
}