Skip to content

DOCS-9481: shell mkdir should return whether a new directory was created #2838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

steveren
Copy link
Contributor

@steveren steveren commented Feb 14, 2017

This change is Reviewable


.. code-block:: javascript

> mkdir("foo")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, we try not to put the ">" in our code because once we make all code examples as copyable, it would copy the prompt as well.

@steveren
Copy link
Contributor Author

Took out the shell prompt.

@steveren steveren closed this Feb 14, 2017
@steveren steveren reopened this Feb 14, 2017
.. code-block:: javascript

mkdir("foo")
{ "exists" : true, "created" : true }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should separate out code they should run and the results. Otherwise, the copyable code-block would include the results which would make pasting weird.

@steveren
Copy link
Contributor Author

Separated command from results.

@kay-kim
Copy link
Contributor

kay-kim commented Feb 16, 2017

mergeD!

@kay-kim kay-kim closed this Feb 16, 2017
mongo-cr-bot pushed a commit that referenced this pull request Mar 29, 2023
…2838)

* DOCS-15890 Add Log Redaction to Log Messages + Security Page (#2737)

* DOCS-15890 Add Log Redaction to Log Messages + Security Page

* DC feedback

* build errors

* build errors again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants