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

Add value_hint for mount_point arg #49

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions s3-file-connector/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::path::PathBuf;
use anyhow::anyhow;
use anyhow::Context as _;
use aws_crt_s3::common::rust_log_adapter::RustLogAdapter;
use clap::Parser;
use clap::{Parser, ValueHint};
use fuser::{BackgroundSession, MountOption, Session};
use s3_client::{HeadBucketError, S3Client, S3ClientConfig, S3RequestError};

Expand Down Expand Up @@ -39,7 +39,7 @@ struct CliArgs {
#[clap(help = "Name of bucket to mount")]
pub bucket_name: String,

#[clap(help = "Mount point for file system")]
#[clap(help = "Mount point for file system", value_hint = ValueHint::DirPath)]
pub mount_point: PathBuf,

#[clap(
Expand Down