Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Commit

Permalink
Additional script help formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpurra committed Nov 30, 2013
1 parent 3c65d69 commit 6f86fdb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions extract-field-info.js
Expand Up @@ -63,14 +63,15 @@

modes.help = function(done) {
// TODO: make debug level a command line argument
console.log("extract-field-info.js: extracts general form field info from HTML pages over HTTP.");
console.log("Usage: extract-field-info.js <mode> [arguments]");
console.log(" MODE \t\t ARGUMENTS");
console.log("# extract-field-info.js: extracts general form field info from HTML pages over HTTP.");
console.log("# Usage: extract-field-info.js <mode> [arguments]");
console.log("# MODE \t\t ARGUMENTS");
console.log("# ---- \t\t ---------");

Object.keys(modes).forEach(function(key) {
var mode = modes[key];

console.log(" " + key + " \t " + priv.getModeFunctionArguments(mode).join(" "));
console.log("# " + key + " \t\t " + priv.getModeFunctionArguments(mode).join(" "));
});

done();
Expand Down

0 comments on commit 6f86fdb

Please sign in to comment.