[SERVER-19048] shell types a help message even when --quiet flag is specified Created: 19/Jun/15 Updated: 15/Aug/18 Resolved: 15/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 2.6.10 |
| Fix Version/s: | 4.1.2 |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | Asya Kamsky | Assignee: | Asya Kamsky |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
The culprit seems to be this line (not even sure why it's there): Instead of
it should be
|
| Comments |
| Comment by Githook User [ 15/Aug/18 ] |
|
Author: {'name': 'Asya Kamsky', 'email': 'asya999@gmail.com', 'username': 'asya999'}Message: Closes #1256. Signed-off-by: Max Hirschhorn <max.hirschhorn@mongodb.com> |
| Comment by Asya Kamsky [ 07/Aug/18 ] |
|
PR: https://github.com/mongodb/mongo/pull/1256
|
| Comment by Asya Kamsky [ 19/Jun/15 ] |
|
In fact, I think that line should simply not be printed - why would we print "type help for help" but specifically only when the --shell option was used (meaning a JS file was passed to mongo but it was still put into interactive mode). |