[SERVER-7187] Add function to shell to get what version the shell is Created: 27/Sep/12  Updated: 15/Apr/13  Resolved: 27/Sep/12

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

Type: New Feature Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-5939 JavaScript version() function should ... Closed
Related
related to DOCS-1279 add version() shell command Closed
Participants:

 Comments   
Comment by auto [ 27/Sep/12 ]

Author:

{u'date': u'2012-09-27T12:15:49-07:00', u'email': u'spencer@10gen.com', u'name': u'Spencer T Brody'}

Message: SERVER-7187 Make shell version() function return the version instead of just printing it
Branch: master
https://github.com/mongodb/mongo/commit/54d96ade4e71b6472b99d575dc38e6472b30a8b0

Comment by Spencer Brody (Inactive) [ 27/Sep/12 ]

Looks like there's already a version() function that prints, but does not return, the shell version. I'll just change that to return instead of printing.

Generated at Thu Feb 08 03:13:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.