[SERVER-1476] cleanup and expand "help misc" Created: 24/Jul/10  Updated: 03/Feb/17  Resolved: 03/Feb/17

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 1.5.6
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

"help misc" in the shell should include Object.bsonsize, other helpers, and objects like NumberLong.

In 1.5.6 I get this:
> help misc
b = new BinData(subtype,base64str) create a BSON BinData value
b.subtype() the BinData subtype (0..255)
b.length() length of the BinData data in bytes
b.hex() the data as a hex encoded string
b.base64() the data as a base 64 encoded string

b.toString()

There also seems to be an extra linefeed before "b.toString()"



 Comments   
Comment by Scott Hernandez (Inactive) [ 24/Jul/10 ]

Might also want to have a place to list global functions like printjson(dbobject), and others in there.

Generated at Thu Feb 08 02:57:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.