Skip to content

Commit

Permalink
fix: volume name as unix only
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Oct 26, 2024
1 parent b0937c1 commit 62e3622
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions remotefs-fuse-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pub struct CliArgs {
#[argh(option)]
pub to: PathBuf,
/// name of mounted filesystem volume
#[cfg(unix)]
#[argh(option)]
pub volume: String,
/// uid to use for the mounted filesystem
Expand Down
1 change: 1 addition & 0 deletions remotefs-fuse-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use remotefs_fuse::{Mount, MountOption};
fn main() -> anyhow::Result<()> {
let args = argh::from_env::<cli::CliArgs>();
args.init_logger()?;
#[cfg(unix)]
let volume = args.volume.clone();
let mount_path = args.to.clone();

Expand Down

0 comments on commit 62e3622

Please sign in to comment.