Updated help

This commit is contained in:
Zakary Timson 2022-02-04 21:41:30 +00:00
parent c37835f436
commit 6799bf5e23

View File

@ -2,7 +2,7 @@ const SAVINGS = 10E6 // Minimum bank account balance
export async function main(ns) { export async function main(ns) {
function help(message) { function help(message) {
ns.tprint(`\n\n${!message ? '' : `${message}\n\n`}Usage:\nrun node-manager.js NUM_NODES\n\n\tNUM_NODES - Minimum number of nodes to maintain\n\n`); ns.tprint(`\n\n${!message ? '' : `${message}\n\n`}Usage:\nrun node-manager.js <num>\n\n\tnum - Target number of nodes\n\n`);
ns.exit(); ns.exit();
} }