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

Avoid printing hidden flags and commands with custom help. #2015

Merged
merged 1 commit into from
Feb 15, 2017

Conversation

harshavardhana
Copy link
Member

Always use .VisibleFlags and .VisibleCommands in templates
to avoid printing hidden flags and commands in the help
template.

Always use .VisibleFlags and .VisibleCommands in templates
to avoid printing hidden flags and commands in the help
template.
@codecov-io
Copy link

Codecov Report

Merging #2015 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #2015   +/-   ##
======================================
  Coverage    8.59%   8.59%           
======================================
  Files          86      86           
  Lines        6670    6670           
======================================
  Hits          573     573           
  Misses       5960    5960           
  Partials      137     137
Impacted Files Coverage Δ
cmd/admin-service-status.go 0% <ø> (ø)
cmd/cp-main.go 0% <ø> (ø)
cmd/pipe-main.go 0% <ø> (ø)
cmd/share-upload-main.go 0% <ø> (ø)
cmd/cat-main.go 0% <ø> (ø)
cmd/admin-main.go 0% <ø> (ø)
cmd/update-main.go 0% <ø> (ø)
cmd/admin-service.go 0% <ø> (ø)
cmd/rm-main.go 0% <ø> (ø)
cmd/admin-heal.go 0% <ø> (ø)
... and 23 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43388a0...323a45e. Read the comment docs.

@harshavardhana harshavardhana merged commit e7e44b9 into minio:master Feb 15, 2017
@harshavardhana harshavardhana deleted the hidden-cmd-flags branch February 15, 2017 10:05
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.

3 participants