<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:08:45 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-5399] Add &quot;quit&quot; as a synonym for &quot;exit&quot; in mongo command shell</title>
                <link>https://jira.mongodb.org/browse/SERVER-5399</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #EEEEEE;border-color: #ccc;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-color: #ccc;background-color: #6CB33F;&quot;&gt;&lt;b&gt;Issue Status as of Feb 04, 2015&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #EEEEEE;&quot;&gt;
&lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;br/&gt;
The changes in this ticket were reverted as part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17167&quot; title=&quot;Shell breaks when a multiline function is input&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17167&quot;&gt;&lt;del&gt;SERVER-17167&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Add &quot;quit&quot; as a synonym for &quot;exit&quot; in mongo command shell&lt;/p&gt;

&lt;p&gt;&amp;gt; exit&lt;br/&gt;
bye&lt;/p&gt;

&lt;p&gt;should also work with quit:&lt;/p&gt;

&lt;p&gt;&amp;gt; quit&lt;br/&gt;
bye&lt;/p&gt;</description>
                <environment>All</environment>
        <key id="34653">SERVER-5399</key>
            <summary>Add &quot;quit&quot; as a synonym for &quot;exit&quot; in mongo command shell</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="rlaferla">Robert La Ferla</reporter>
                        <labels>
                            <label>neweng</label>
                            <label>polish</label>
                            <label>pull-request</label>
                    </labels>
                <created>Sun, 25 Mar 2012 21:30:15 +0000</created>
                <updated>Fri, 18 Sep 2015 23:59:30 +0000</updated>
                            <resolved>Fri, 16 Jan 2015 20:57:26 +0000</resolved>
                                    <version>2.0.4</version>
                                    <fixVersion>3.0.0-rc6</fixVersion>
                                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="821462" author="xgen-internal-githook" created="Wed, 4 Feb 2015 18:48:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;benety&apos;, u&apos;name&apos;: u&apos;Benety Goh&apos;, u&apos;email&apos;: u&apos;benety@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17167&quot; title=&quot;Shell breaks when a multiline function is input&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17167&quot;&gt;&lt;del&gt;SERVER-17167&lt;/del&gt;&lt;/a&gt; restore multiline functionality in shell&lt;/p&gt;

&lt;p&gt;Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5399&quot; title=&quot;Add &amp;quot;quit&amp;quot; as a synonym for &amp;quot;exit&amp;quot; in mongo command shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5399&quot;&gt;&lt;del&gt;SERVER-5399&lt;/del&gt;&lt;/a&gt; Essentially aliasing quit, exit, and function call variations.&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit f1d696d46b65dd1f76727b37d85e0c08c291f533.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit fc14926f9c8256edce8bbd15d439ca34667c6ebb)&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3f09e9dacbb34f9cdd45ac025ba0c8238eec5d31&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3f09e9dacbb34f9cdd45ac025ba0c8238eec5d31&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="821459" author="xgen-internal-githook" created="Wed, 4 Feb 2015 18:48:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;benety&apos;, u&apos;name&apos;: u&apos;Benety Goh&apos;, u&apos;email&apos;: u&apos;benety@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17167&quot; title=&quot;Shell breaks when a multiline function is input&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17167&quot;&gt;&lt;del&gt;SERVER-17167&lt;/del&gt;&lt;/a&gt; restore multiline functionality in shell&lt;/p&gt;

&lt;p&gt;Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5399&quot; title=&quot;Add &amp;quot;quit&amp;quot; as a synonym for &amp;quot;exit&amp;quot; in mongo command shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5399&quot;&gt;&lt;del&gt;SERVER-5399&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16946&quot; title=&quot;&amp;quot;it&amp;quot; not working in the javascript shell when getting next cursor batch&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16946&quot;&gt;&lt;del&gt;SERVER-16946&lt;/del&gt;&lt;/a&gt; fixed shell helper parsing&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 2d397b55c3207e875b6085944799b3c243ff4cf3.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit f67e39825ac93c0915db0192d7a35b3d73834388)&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f0531d8229e9a3e2d663ba0612495ad2ba4aa1b7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f0531d8229e9a3e2d663ba0612495ad2ba4aa1b7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="820753" author="xgen-internal-githook" created="Tue, 3 Feb 2015 23:57:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;benety&apos;, u&apos;name&apos;: u&apos;Benety Goh&apos;, u&apos;email&apos;: u&apos;benety@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17167&quot; title=&quot;Shell breaks when a multiline function is input&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17167&quot;&gt;&lt;del&gt;SERVER-17167&lt;/del&gt;&lt;/a&gt; restore multiline functionality in shell&lt;/p&gt;

&lt;p&gt;Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5399&quot; title=&quot;Add &amp;quot;quit&amp;quot; as a synonym for &amp;quot;exit&amp;quot; in mongo command shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5399&quot;&gt;&lt;del&gt;SERVER-5399&lt;/del&gt;&lt;/a&gt; Essentially aliasing quit, exit, and function call variations.&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit f1d696d46b65dd1f76727b37d85e0c08c291f533.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fc14926f9c8256edce8bbd15d439ca34667c6ebb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fc14926f9c8256edce8bbd15d439ca34667c6ebb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="820750" author="xgen-internal-githook" created="Tue, 3 Feb 2015 23:57:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;benety&apos;, u&apos;name&apos;: u&apos;Benety Goh&apos;, u&apos;email&apos;: u&apos;benety@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17167&quot; title=&quot;Shell breaks when a multiline function is input&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17167&quot;&gt;&lt;del&gt;SERVER-17167&lt;/del&gt;&lt;/a&gt; restore multiline functionality in shell&lt;/p&gt;

&lt;p&gt;Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5399&quot; title=&quot;Add &amp;quot;quit&amp;quot; as a synonym for &amp;quot;exit&amp;quot; in mongo command shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5399&quot;&gt;&lt;del&gt;SERVER-5399&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16946&quot; title=&quot;&amp;quot;it&amp;quot; not working in the javascript shell when getting next cursor batch&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16946&quot;&gt;&lt;del&gt;SERVER-16946&lt;/del&gt;&lt;/a&gt; fixed shell helper parsing&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 2d397b55c3207e875b6085944799b3c243ff4cf3.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f67e39825ac93c0915db0192d7a35b3d73834388&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f67e39825ac93c0915db0192d7a35b3d73834388&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="808743" author="xgen-internal-githook" created="Tue, 20 Jan 2015 20:15:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;benety&apos;, u&apos;name&apos;: u&apos;Benety Goh&apos;, u&apos;email&apos;: u&apos;benety@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5399&quot; title=&quot;Add &amp;quot;quit&amp;quot; as a synonym for &amp;quot;exit&amp;quot; in mongo command shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5399&quot;&gt;&lt;del&gt;SERVER-5399&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16946&quot; title=&quot;&amp;quot;it&amp;quot; not working in the javascript shell when getting next cursor batch&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16946&quot;&gt;&lt;del&gt;SERVER-16946&lt;/del&gt;&lt;/a&gt; fixed shell helper parsing&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2d397b55c3207e875b6085944799b3c243ff4cf3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2d397b55c3207e875b6085944799b3c243ff4cf3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="806851" author="xgen-internal-githook" created="Fri, 16 Jan 2015 20:55:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;amcfague&apos;, u&apos;name&apos;: u&apos;Andrew McFague&apos;, u&apos;email&apos;: u&apos;redmumba@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5399&quot; title=&quot;Add &amp;quot;quit&amp;quot; as a synonym for &amp;quot;exit&amp;quot; in mongo command shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5399&quot;&gt;&lt;del&gt;SERVER-5399&lt;/del&gt;&lt;/a&gt; Essentially aliasing quit, exit, and function call variations.&lt;/p&gt;

&lt;p&gt;Previously, `exit` was being implemented as a code in the DB shell,&lt;br/&gt;
while `quit` was being implemented as a shell function. This meant that&lt;br/&gt;
both were doing different things, and were called differently--i.e.,&lt;br/&gt;
`exit` could be run as is, whereas `quit()` had to be called as a&lt;br/&gt;
function.&lt;br/&gt;
Additional cleanups / improvements:&lt;br/&gt;
Clarifying Control-C/D handling code.&lt;br/&gt;
Moving string operations to use boost::algorithm::string libs&lt;br/&gt;
Clarifying logic in command parsing&lt;br/&gt;
Renaming variable for user input to something more relevant (&quot;code&quot; -&amp;gt; &quot;line&quot;).&lt;/p&gt;

&lt;p&gt;This re-applies commit b118ba77c541b5f952cc9c3e418fee0644ee4c7f (rolled back&lt;br/&gt;
in commit 1f3ac382c4892f03a0d2c5da076fa5271867fbbc) with a fix for multi-line.&lt;/p&gt;

&lt;p&gt;Closes #221&lt;/p&gt;

&lt;p&gt;Signed-off-by: Benety Goh &amp;lt;benety@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f1d696d46b65dd1f76727b37d85e0c08c291f533&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f1d696d46b65dd1f76727b37d85e0c08c291f533&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="116469" author="tad" created="Fri, 4 May 2012 20:52:14 +0000"  >&lt;p&gt;The call to &quot;finishCode() was completely removed in your edit.  This code checks to see if there is an open parenthesis, brace or bracket and collects additional lines of text until the expression is balanced.  Also, a ctrl-C while in multi-line mode is supposed to drop you out of multi-line mode but not exit the shell.&lt;/p&gt;</comment>
                            <comment id="116463" author="amcfague" created="Fri, 4 May 2012 20:38:04 +0000"  >&lt;p&gt;I will look into why/how this broke multi-line editing and hopefully submit an updated patch!&lt;/p&gt;</comment>
                            <comment id="116451" author="auto" created="Fri, 4 May 2012 19:55:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: Rollback b118ba77c541b5f952cc9c3e418fee0644ee4c7f, which broke multi-line.&lt;/p&gt;

&lt;p&gt;Effectively reopens &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5399&quot; title=&quot;Add &amp;quot;quit&amp;quot; as a synonym for &amp;quot;exit&amp;quot; in mongo command shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5399&quot;&gt;&lt;del&gt;SERVER-5399&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1f3ac382c4892f03a0d2c5da076fa5271867fbbc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1f3ac382c4892f03a0d2c5da076fa5271867fbbc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="116450" author="schwerin" created="Fri, 4 May 2012 19:55:10 +0000"  >&lt;p&gt;The submitted fix broke multi-line functionality, and has been rolled back pending a fix that preserves it.&lt;/p&gt;</comment>
                            <comment id="116359" author="schwerin" created="Fri, 4 May 2012 14:46:46 +0000"  >&lt;p&gt;Documentation for how to use the shell should be updated to reflect that the following commands/statements in the shell are all synonyms:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;quit&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;exit&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;quit()&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;exit()&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="116354" author="auto" created="Fri, 4 May 2012 14:43:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;amcfague&apos;, u&apos;name&apos;: u&apos;Andrew McFague&apos;, u&apos;email&apos;: u&apos;redmumba@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5399&quot; title=&quot;Add &amp;quot;quit&amp;quot; as a synonym for &amp;quot;exit&amp;quot; in mongo command shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5399&quot;&gt;&lt;del&gt;SERVER-5399&lt;/del&gt;&lt;/a&gt;: Essentially aliasing quit, exit, and function call variations.&lt;/p&gt;

&lt;p&gt;Signed-off-by: Andy Schwerin &amp;lt;schwerin@10gen.com&amp;gt;&lt;/p&gt;

&lt;p&gt;Previously, `exit` was being implemented as a code in the DB shell,&lt;br/&gt;
while `quit` was being implemented as a shell function.  This meant that&lt;br/&gt;
both were doing different things, and were called differently--i.e.,&lt;br/&gt;
`exit` could be run as is, whereas `quit()` had to be called as a&lt;br/&gt;
function.&lt;/p&gt;

&lt;p&gt;Additional cleanups / improvements:&lt;/p&gt;

&lt;p&gt;Clarifying Control-C/D handling code.&lt;br/&gt;
Moving string operations to use boost::algorithm::string libs&lt;br/&gt;
Clarifying logic in command parsing&lt;br/&gt;
Renaming variable for user input to something more relevant (&quot;code&quot; -&amp;gt; &quot;line&quot;).&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b118ba77c541b5f952cc9c3e418fee0644ee4c7f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b118ba77c541b5f952cc9c3e418fee0644ee4c7f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="114503" author="amcfague" created="Fri, 27 Apr 2012 23:36:25 +0000"  >&lt;p&gt;Made a pull request here; feel free to review.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/pull/216&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/pull/216&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This will allow you to use both `quit`, `exit`, `quit()`, `exit()`, `quit(#)`, and `exit(#)` from the shell.&lt;/p&gt;

&lt;p&gt;Andrew&lt;/p&gt;</comment>
                            <comment id="114491" author="amcfague" created="Fri, 27 Apr 2012 22:43:17 +0000"  >&lt;p&gt;An interesting tidbit here is, they&apos;re not actually the same internally.  Whereas the `exit` gets processed as part of the commands, `quit` is actually a shell function.  This raises questions, especially since `quit` binds to `mongo/shell/shell_utils.cpp:Quit`, then calls `goingAwaySoon()`, which locks a mutex that the `exit` command does not touch.&lt;/p&gt;

&lt;p&gt;I am taking a deeper look into this, as well as cleaning up the prompt handling code.&lt;/p&gt;</comment>
                            <comment id="103410" author="eliot" created="Mon, 26 Mar 2012 01:56:58 +0000"  >&lt;p&gt;works:&lt;br/&gt;
exit &lt;br/&gt;
quit()&lt;/p&gt;

&lt;p&gt;doesn&apos;t work&lt;br/&gt;
exit()&lt;br/&gt;
quit&lt;/p&gt;

&lt;p&gt;should all be the same&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="182346">SERVER-17167</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="37833">SERVER-5764</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="179660">SERVER-16946</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>15.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 26 Mar 2012 01:56:58 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 2 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 2 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10249"><![CDATA[Cannot]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>amcfague</customfieldvalue>
            <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>rlaferla</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro8hr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrg6a7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7922</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hriylb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>