-
Notifications
You must be signed in to change notification settings - Fork 97
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
Conversation
Codecov ReportPatch coverage:
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
☔ View full report in Codecov by Sentry. |
internal/flags/flags.go
Outdated
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\"", |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
There was a problem hiding this 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>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Refine command line help messages and error messages.