mongodb/docs — pull request #1919 by mertcetin (2014-08-07 16:56:39+00:00)
Title: Update diagnostics commands

Document said that printReplicationInfo() and printSlaveReplicationInfo() diagnostic methods are accessible via "rs" object. However they are in "db" object.