8000 [Console] Reword a subheading of console/logging.rst by javiereguiluz · Pull Request #7275 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Console] Reword a subheading of console/logging.rst #7275

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 2 commits into from

Conversation

javiereguiluz
Copy link
Member
@javiereguiluz javiereguiluz commented Dec 18, 2016

Because of the typography we use, the "non-0 exit statuses" heading reads as "nono exit statuses" (instead of "non-zero ..."):

console-heading

I propose a minor reword to avoid this problem.

---------------------------

The logging capabilities of the console can be further extended by logging
non-0 exit statuses. This way you will know if a command had any errors, even
if no exceptions were thrown.
commands that return error exist statuses, which are any number different than
Copy link
Member

Choose a reason for hiding this comment

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

"error exist statuses" sounds weird. Can we reword it a bit?

Copy link
Member Author

Choose a reason for hiding this comment

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

The original text should have been "... exit ..." instead of "... exist ..." Would that be better?

@@ -167,12 +167,13 @@ service configuration. Your method receives a
:class:`Symfony\\Component\\Console\\Event\\ConsoleExceptionEvent` object,
which has methods to get information about the event and the exception.

Logging non-0 Exit Statuses
Logging Error Exit Statuses
Copy link
Member

Choose a reason for hiding this comment

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

Can you please add a label for the old headline to maintain existing anchors?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@xabbuh
Copy link
Member
xabbuh commented Dec 21, 2016

👍

Status: Reviewed

@xabbuh
Copy link
Member
xabbuh commented Dec 25, 2016

Thank you Javier.

xabbuh added a commit that referenced this pull request Dec 25, 2016
…iereguiluz)

This PR was squashed before being merged into the 2.7 branch (closes #7275).

Discussion
----------

[Console] Reword a subheading of console/logging.rst

Because of the typography we use, the "non-0 exit statuses" heading reads as "nono exit statuses" (instead of "non-zero ..."):

![console-heading](https://cloud.githubusercontent.com/assets/73419/21296011/99817e48-c561-11e6-86fb-429d6546e1c1.png)

I propose a minor reword to avoid this problem.

Commits
-------

b1ec1f0 [Console] Reword a subheading of console/logging.rst
@xabbuh xabbuh closed this Dec 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0