Skip to content

expand usage section of README #116

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 1 commit into from
May 16, 2020
Merged

expand usage section of README #116

merged 1 commit into from
May 16, 2020

Conversation

MasterOdin
Copy link
Collaborator

Expands the usage section of the README to show the same message as typing tldr --help.

The custom string for the usage argument of argparse is unfortunate, but it's the only way to get the positional arguments section to show up, while also not showing command as totally optional. This is also probably simpler than writing up a custom formatter for argparse.

I could see writing a note below this section to explain the handling of command (e.g. you can type multiple words and will be automatically concatenated (e.g. git rm -> git-rm) or something.

Signed-off-by: Matthew Peveler <[email protected]>
@zlatanvasovic zlatanvasovic merged commit 702c116 into master May 16, 2020
@zlatanvasovic zlatanvasovic deleted the readme_usage branch May 16, 2020 18:54
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