-
Notifications
You must be signed in to change notification settings - Fork 398
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
[#6320] feat (gvfs-fuse): Support mount and umount command for gvfs-fuse command line tools #6321
Conversation
config: Option<String>, | ||
|
||
#[arg(short, long, help = "Debug level", default_value_t = 0)] | ||
debug: u8, |
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.
Looks like this is an overdesign?
Are we really using this argument?
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.
Yes, we will need to use this argument in PR #5905.
Co-authored-by: Qiming Teng <[email protected]>
mount_point: String, | ||
|
||
#[arg(help = "The URI of the GVFS fileset")] | ||
location: String, |
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.
The meaning of location
and config
seems not clear
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.
Change location
to fileset_location
Using "config" as a configuration name is very common.
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.
could you provide an example of fileset_location
and add the example to the help message?
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.
fix, add an example
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.
help message like:
./gvfs-fuse mount --help
Usage: gvfs-fuse mount [OPTIONS] <MOUNT_POINT> <FILESET_LOCATION>
Arguments:
<MOUNT_POINT> Mount point for the filesystem
<FILESET_LOCATION> The URI of the GVFS fileset, like gvfs://fileset/my_catalog/my_schema/my_fileset
Options:
-c, --config <CONFIG> Path to the configuration file
-d, --debug <DEBUG> Debug level [default: 0]
-f, --foreground Run in foreground
-h, --help Print help
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.
isFILESET_URI
more meaningful than FILESET_LOCATION
?
What changes were proposed in this pull request?
Why are the changes needed?
Fix: #6320
Does this PR introduce any user-facing change?
No
How was this patch tested?
IT