Skip to content

Conversation

@sagunji
Copy link
Contributor

@sagunji sagunji commented Oct 28, 2019

  • Have you followed the guidelines in our
    Contributing document?

  • Does your PR affect documented changes or does it add new functionality
    that should be documented? If yes, have you created a PR for
    dvc.org documenting it or at
    least opened an issue for it? If so, please add a link to it.


Issue

Resolved #2681

Change

Commented out --all-commits optional argument block

Screenshot

image

@sagunji sagunji changed the title Comment out --all-commits optional arg Remove --all-commits options from usage output Oct 28, 2019
Comment on lines 82 to 88
# Issue number 2681
# gc_parser.add_argument(
# "--all-commits",
# action="store_true",
# default=False,
# help="Keep data files for all commits.",
# )
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @sagunji !

Thanks for the PR!

The proper solution for this treeverse/dvc.org#730 (comment) is to hide this option like so:

gc_parser.add_argument(
    "--all-commits",
    action="store_true",
    default=False,
    help=argparse.SUPPRESS,
)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @efiop
I have pushed changes according to your request.

Thank you!

Copy link
Contributor

@efiop efiop left a comment

Choose a reason for hiding this comment

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

Perfect! Thanks a lot! 🙏

@efiop efiop merged commit 5d6918a into treeverse:master Oct 28, 2019
@sagunji
Copy link
Contributor Author

sagunji commented Oct 28, 2019

Thank you, my friend, @efiop 😄

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.

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

2 participants