INNER CODE UNIT · JavaScript
help
Lonero-Team/Decentralized-Internet · clusterpost/src/clusterpost-execution/index.js:20
var help = function(){
console.error("help: To execute the program you must specify the job id. ")
console.error(process.argv[0] + " " + process.argv[1] + " -j <jobid>");
console.error("To configure the couchdb, check conf.*.json");
console.error("Options:");
console.error("--submit Submit the job.");
console.error("-f force job submission");
console.error("--status get job status");
console.error("--kill kill job");
console.error("--delete delete job");
console.error("--remote run as a daemon");
}
if(!remote && (!jobid || !submit && !status && !kill && !jobdelete)){
help();
process.exit(1);
}