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

Fix: archive config option #520

Closed
wants to merge 1 commit into from

Conversation

ppcano
Copy link
Contributor

@ppcano ppcano commented Mar 5, 2018

Closes #519

@codecov-io
Copy link

Codecov Report

Merging #520 into master will increase coverage by <.01%.
The diff coverage is 25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #520      +/-   ##
==========================================
+ Coverage   62.69%   62.69%   +<.01%     
==========================================
  Files          95       95              
  Lines        6956     6957       +1     
==========================================
+ Hits         4361     4362       +1     
  Misses       2348     2348              
  Partials      247      247
Impacted Files Coverage Δ
cmd/archive.go 18.42% <25%> (+2.2%) ⬆️

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 d35ef16...49b8290. Read the comment docs.

@@ -97,5 +98,6 @@ func init() {
archiveCmd.Flags().SortFlags = false
archiveCmd.Flags().AddFlagSet(optionFlagSet())
archiveCmd.Flags().AddFlagSet(runtimeOptionFlagSet(false))
archiveCmd.Flags().AddFlagSet(configFlagSet())
Copy link
Member

Choose a reason for hiding this comment

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

@ppcano We need to refactor configFlagSet as it would otherwise introduces CLI flags for archive that are nonsensical (--linger, --out, --no-usage-report, --no-thresholds).

@antekresic
Copy link
Contributor

This one can be closed since it was superseded by the now merged PR #568

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.

None yet

4 participants