Skip to content

Add info on command help #1393

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

Merged
merged 2 commits into from
Oct 15, 2018
Merged

Add info on command help #1393

merged 2 commits into from
Oct 15, 2018

Conversation

jhodgdon-drp
Copy link
Contributor

Fixes #1384

@@ -146,6 +146,24 @@ You'll probably see something similar on your machine. Once you open the command

---

### Learn more about a command

Many commands you can type at the command prompt have built-in help that you can display and read! For example, to learn more about the Current directory command:
Copy link
Member

Choose a reason for hiding this comment

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

Is "current" capitalized here intentionally?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had thought the tutorial capitalized it but I think you are right, I was looking at a header... will fix.


<!--sec data-title="Command help: OS X and Linux" data-id="OSX_Linux_pwd" data-collapse=true ces-->

OS X and Linux have a `man` command, which gives you help on commands. Try `man pwd` and see what it says, or put `man` before other commands to see their help.
Copy link
Member

Choose a reason for hiding this comment

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

If the man page doesn't fit in the command line window, man will automatically invoke a pager (usually less) to display the content. It should probably be mentioned how to navigate in there (arrow keys, page-up/page-down keys) and how to exit the pager (q for "quit").

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea! I'll update the text...

Do not capitalize name of command in "Get help" section. Also describe how to use the pager in man on Linux / OS/X.
@jhodgdon-drp
Copy link
Contributor Author

How's this version? Thanks for the feedback!

Copy link
Member

@das-g das-g left a comment

Choose a reason for hiding this comment

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

👍:shipit:

@magul magul merged commit 193d245 into DjangoGirls:master Oct 15, 2018
@magul magul mentioned this pull request Oct 16, 2018
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.

3 participants