-
Notifications
You must be signed in to change notification settings - Fork 829
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
grouping flags for karmada-controller-manager #1468
grouping flags for karmada-controller-manager #1468
Conversation
3ad96c2
to
ac7f7ab
Compare
Cool, using public libraries is easier to maintain! LGTM |
ac7f7ab
to
c302984
Compare
c302984
to
7768a38
Compare
Could we adjust the format of Original format
Now format:
I think the original format is more compact that occupy less screen. |
Do you know how to do that? |
I'm trying to research it now. |
Yeah, I get it. bug if you are seeing the usage in a small window, it gonna be pretty ugly(without wrap). Have you ever tried it? With wrap in small window:
without wrap in small window:
|
Alright, I have tried it that is clearer for small window with wrap. |
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
7768a38
to
7358ea6
Compare
Force pushed as introduced a common package for adding klog flags. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Grouping flags for better readability.
Full help info now is:
Click here for full output
-bash-4.2# ./karmada-controller-manager --help
The karmada controller manager runs a bunch of controllers
Usage:
karmada-controller-manager [flags]
Available Commands:
karmada-controller-manager completion generate the autocompletion script for the specified shell
karmada-controller-manager help Help about any command
karmada-controller-manager version Print the version information.
Generic flags:
Logs flags:
-v, --v Level
number for the log level verbosity
--vmodule moduleSpec
comma-separated list of pattern=N settings for file-filtered logging
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
This PR focus on grouping klog flags.
Does this PR introduce a user-facing change?: