Skip to content

Tiny typo fix and improve nydusd help message #461

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

Merged
merged 2 commits into from
Jun 1, 2022
Merged

Tiny typo fix and improve nydusd help message #461

merged 2 commits into from
Jun 1, 2022

Conversation

changweige
Copy link
Contributor

Frankly speaking, --shared-dir is useless when nydusd works on FUSE mode. But we can still use this option to demonstrate that nydusd can work as FUSE passthroughfs and test the corresponding logics belong to fuse-backend-rs.

Add a more detailed help message telling why it is reserved.
In addition, fix a type name.

Also it fixes a tiny spelling mistake.

Signed-off-by: Changwei Ge <[email protected]>
@@ -210,7 +210,7 @@ fn append_fs_options(app: App<'static, 'static>) -> App<'static, 'static> {
Arg::with_name("shared-dir")
.long("shared-dir")
.short("s")
.help("Directory shared by host and guest for passthroughfs, which also enables pathroughfs mode")
.help("Directory shared by host and guest for passthroughfs or a passthroughfs source for FUSE(for test and demonstration purpose), which also enables passthroughfs mode")
Copy link
Contributor

Choose a reason for hiding this comment

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

should we a space and (for the purpose of testing and demonstration)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, leaving a white space makes it neater.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Then the help message looks like below:
image

It should be ServiceController rather than ServiceContoller

Signed-off-by: Changwei Ge <[email protected]>
@imeoer imeoer merged commit 61f0c3f into dragonflyoss:master Jun 1, 2022
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.

4 participants