Skip to content

Fix --help command in Two CLI arguments #526

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nelsoncardenas
Copy link

@nelsoncardenas nelsoncardenas commented Jan 4, 2023

In this PR, I'm fixing the output from one command in the First Steps tutorial. Specifically, in the Two CLI arguments.

Problem

In the First Steps tutorial - Two CLI arguments the results of the python main.py --help command are wrong because, in the original source, the command throws an error, but in real life, it's not the case.

image

Local comparison

image

Solution

This is the first time I do a PR for this project and I'm not so good with this code base, so my strategy was to use another section of the documentation to copy, paste and edit to get the right results of the console (Add one CLI option).

See Docs preview results

Two CLI arguments

image

@github-actions
Copy link

github-actions bot commented Jan 4, 2023

📝 Docs preview for commit fe7fc21 at: https://63b5fbb4ff768f112f51279f--typertiangolo.netlify.app

@svlandeg svlandeg added feature New feature, enhancement or request p3 docs Improvements or additions to documentation and removed feature New feature, enhancement or request labels Mar 1, 2024
Copy link

📝 Docs preview for commit 0a7c7d3 at: https://11ca42b4.typertiangolo.pages.dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation p3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants