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

gc: remove --all-commits options from usage output #2681

Closed
jorgeorpinel opened this issue Oct 28, 2019 · 1 comment · Fixed by #2682
Closed

gc: remove --all-commits options from usage output #2681

jorgeorpinel opened this issue Oct 28, 2019 · 1 comment · Fixed by #2682

Comments

@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented Oct 28, 2019

Per iterative/dvc.org#730 (comment)

$ dvc gc --help
usage: ...

optional arguments:
  -h, --help            show this help message and exit
  -q, --quiet           Be quiet.
  -v, --verbose         Be verbose.
  -a, --all-branches    Keep data files for the tips of all git branches.
  -T, --all-tags        Keep data files for all git tags.
  --all-commits         Keep data files for all commits.     <-- HIDE FOR NOW.
  -c, --cloud           Collect garbage in remote repository.
  ...

Related: #2325

@efiop
Copy link
Contributor

efiop commented Oct 28, 2019

@Suor Please check your mentions iterative/dvc.org#730 (comment) . This flag should be hidden for now, not removed.

casperdcl added a commit to casperdcl/dvc that referenced this issue Mar 10, 2020
efiop pushed a commit that referenced this issue Mar 11, 2020
* completion: bash: fix, update and sort

* completion: bash: fix missing `compgen`s

* completion: bash: remove deprecated/hidden options

* completion: bash: fix extra parenthesis

- fixes metrics show -t

* completion: bash: re-add `gc --all-commits`

Due to #3429 superceding #2681
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants