Skip to content
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

Fix grammar error in --help for --py-args #60183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

btzy
Copy link

@btzy btzy commented Jan 18, 2025

This is a minor grammar fix in the message that appears when one runs qgis --help.

The help string for --py-args used to say the following:

This arguments will be available for each python execution via 'sys.argv' included the file specified by '--code'. All arguments till '--' are passed to python and ignored by QGIS

Apart from being grammatically incorrect, it may be interpreted as saying that sys.argv is included by the file specified in --code, which was what I originally thought it meant. Instead, we actually want it to mean that the arguments will be available in all Python code that is entered, including the file specified by --code.

I also changed this to these, which is the correct form of the word to use.

@github-actions github-actions bot added this to the 3.42.0 milestone Jan 18, 2025
@btzy btzy marked this pull request as ready for review January 18, 2025 17:54
Copy link

github-actions bot commented Jan 18, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit f17ff97)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit f17ff97)

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