-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
CLI: Fixed cmds help strings #3566
Conversation
This fixes a few command help string outputs that were cut short because of a typo.
Thank you @xnutsive 🙏 |
"Show changes between commits in the DVC repository," | ||
" or between a commit and the workspace." | ||
" or between a commit and the workspace. " | ||
"Prints the list of paths added, modified, or deleted." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Show added, modified, or deleted data
between commits in the DVC repository,
or between a commit and the workspace
to match https://dvc.org/doc/command-reference/diff
I'll edit this in a separate PR... ⏳
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Including zsh autocomplete script.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #3601
" and system/environment information." | ||
|
||
VERSION_HELP = ( | ||
"Display the DVC version and system/environment information." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll update docs to match this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Started iterative/dvc.org/pull/1110
* diff: update help output to match docs per #3566 (review) * terms: git->Git, scm->SCM, spacing
This fixes a few command help string outputs that were cut short because of a typo:
This resulted in the CLI rendering only the first substring in the help section of the root
dvc
command.Since this is a small change that doesn't even change the CLI help messages, but rather fixes the existing ones, I haven't created an issue upfront.
I've walked through all the commands one by one, fixed the help strings where I noticed the bug.
❗ I have followed the Contributing to DVC checklist.
📖 If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here. If the CLI API is changed, I have updated tab completion scripts.
❌ I will check DeepSource, CodeClimate, and other sanity checks below. (We consider them recommendatory and don't expect everything to be addressed. Please fix things that actually improve code or fix bugs.)
Thank you for the contribution - we'll try to review it as soon as possible. 🙏