fuser icon indicating copy to clipboard operation
fuser copied to clipboard

Add ValueParserFactory for MountOption

Open dr-bonez opened this issue 1 year ago • 3 comments

gated under the "clap" feature

dr-bonez avatar Jul 08 '24 22:07 dr-bonez

Hmm, I generally don't think fuser should dictate the format of command line arguments. Is there broad precedent for doing that in Rust crates?

cberner avatar Jul 10 '24 03:07 cberner

In order to support mount -t <fstype> it needs to be able to parse mount options in that specific format. In this case, fuser isn't opinionated about anything, mount is.

dr-bonez avatar Jul 16 '24 03:07 dr-bonez

Ok ya, that's a good argument. Can you add a few tests?

cberner avatar Jul 16 '24 04:07 cberner