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

cmd: refine command line help messages and error messages #463

Merged
merged 1 commit into from
May 5, 2023

Conversation

jiangliu
Copy link
Contributor

@jiangliu jiangliu commented May 4, 2023

Refine command line help messages and error messages.

@codecov-commenter
Copy link

codecov-commenter commented May 4, 2023

Codecov Report

Patch coverage: 75.00% and no project coverage change.

Comparison is base (f89d069) 37.13% compared to head (10867a8) 37.13%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #463   +/-   ##
=======================================
  Coverage   37.13%   37.13%           
=======================================
  Files          60       60           
  Lines        6912     6912           
=======================================
  Hits         2567     2567           
  Misses       4048     4048           
  Partials      297      297           
Impacted Files Coverage Δ
config/config.go 34.23% <0.00%> (ø)
config/global.go 33.33% <0.00%> (ø)
internal/flags/flags.go 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Destination: &args.NydusdConfigPath,
},
&cli.StringFlag{
Name: "daemon-mode",
Usage: "spawning nydusd daemon mode, legal values include \"multiple\", \"shared\" or \"none\"",
Usage: "nydusd daemon working mode, possible values: \"dedicated\"/\"multiple\", \"shared\" or \"none\"",
Copy link
Member

Choose a reason for hiding this comment

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

dedicated should not be included in this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch

Copy link
Member

@changweige changweige left a comment

Choose a reason for hiding this comment

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

Otherwise, LGTM

Refine command line help messages and error messages.

Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
Copy link
Member

@changweige changweige left a comment

Choose a reason for hiding this comment

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

LGTM

@changweige changweige merged commit 9144aa3 into containerd:main May 5, 2023
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