Permalink
Browse files

Implement registerInternalFlags

  • Loading branch information...
1 parent d3daa9f commit ebfb8ab05171193a4da2e55dd82048e8e83a98ff @dpup committed Oct 24, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/flags.js
View
@@ -481,9 +481,13 @@ MultiStringFlag.prototype.set = function(input) {
// Internal flags
//=================
-if (registerFlags) {
+function registerInternalFlags() {
exports.defineBoolean('help').
setDescription('Shows this help text.').
setSecret(true);
// TODO: --flagsfile
}
+
+if (registerFlags) {
+ registerInternalFlags();
+}

0 comments on commit ebfb8ab

Please sign in to comment.