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 config file flags in subcommands #7475

Merged

Conversation

bidlocode
Copy link
Contributor

Fixes #7310

Other notes

Fixes the issue, but imho perfect solution would be to follow more strict usage of flags in their respected positions(global vs subcommand), to open a feature request in urfave/cli or to move to another cli package.

@codecov
Copy link

codecov bot commented Oct 9, 2020

Codecov Report

Merging #7475 into master will increase coverage by 0.03%.
The diff coverage is 5.40%.

@@            Coverage Diff             @@
##           master    #7475      +/-   ##
==========================================
+ Coverage   60.47%   60.50%   +0.03%     
==========================================
  Files         427      427              
  Lines       30380    30380              
==========================================
+ Hits        18371    18381      +10     
+ Misses       9012     9008       -4     
+ Partials     2997     2991       -6     

shared/cmd/flags.go Show resolved Hide resolved
Copy link
Member

@terencechain terencechain left a comment

Choose a reason for hiding this comment

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

One last comment on punctuation

shared/cmd/flags.go Outdated Show resolved Hide resolved
validator/main.go Outdated Show resolved Hide resolved
@terencechain terencechain merged commit 0214553 into prysmaticlabs:master Oct 11, 2020
@bidlocode bidlocode deleted the fix-config-file-in-subcommands branch October 11, 2020 16:17
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.

Config file params ignored when running subcommand
2 participants