From 77d9e1fe4215a5d9df19deb7eeb1f8fee4ab3f51 Mon Sep 17 00:00:00 2001 From: Mike Dirolf Date: Wed, 7 Oct 2009 12:47:20 -0400 Subject: [PATCH] don't show version in shell help, so that help doesn't hang when the db is locked --- shell/utils.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/shell/utils.js b/shell/utils.js index b672ee49256..7ee032e19ba 100644 --- a/shell/utils.js +++ b/shell/utils.js @@ -445,8 +445,6 @@ shellHelper = function( command , rest , shouldPrint ){ } help = shellHelper.help = function(){ - if ( typeof( db ) != "undefined" ) - print( "server version: " + db.version() ); print( "HELP" ); print( "\t" + "show dbs show database names"); print( "\t" + "show collections show collections in current database");