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

CLI: Fixed cmds help strings #3566

Merged
merged 1 commit into from
Apr 1, 2020

Conversation

natikgadzhi
Copy link
Contributor

@natikgadzhi natikgadzhi commented Apr 1, 2020

This fixes a few command help string outputs that were cut short because of a typo:

COMMAND_HELP = "Substring one, "
"substring two."

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. 🙏

This fixes a few command help string outputs that were
cut short because of a typo.
@natikgadzhi natikgadzhi marked this pull request as ready for review April 1, 2020 01:31
@efiop efiop merged commit f4d91b3 into iterative:master Apr 1, 2020
@efiop
Copy link
Contributor

efiop commented Apr 1, 2020

Thank you @xnutsive 🙏

Comment on lines 123 to 125
"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."
Copy link
Contributor

@jorgeorpinel jorgeorpinel Apr 6, 2020

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... ⏳

Copy link
Contributor

Choose a reason for hiding this comment

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

(Including zsh autocomplete script.)

Copy link
Contributor

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."
Copy link
Contributor

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.

Copy link
Contributor

Choose a reason for hiding this comment

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

jorgeorpinel added a commit to iterative/dvc.org that referenced this pull request Apr 6, 2020
jorgeorpinel added a commit that referenced this pull request Apr 6, 2020
jorgeorpinel added a commit to iterative/dvc.org that referenced this pull request Apr 6, 2020
efiop pushed a commit that referenced this pull request Apr 7, 2020
* diff: update help output to match docs
per #3566 (review)

* terms: git->Git, scm->SCM, spacing
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.

5 participants