https://pantsbuild.org/ logo
w

wide-energy-11069

11/13/2018, 8:04 PM
but
Copy code
untar_opts
    .value_of("file")
gives None
e

enough-analyst-54434

11/13/2018, 8:13 PM
Search for 'matches.subcommand_matches' on the README: https://github.com/clap-rs/clap Looks like you're asking for file as if it's a root flag, it's not, its a subcommand flag.
w

wide-energy-11069

11/13/2018, 8:14 PM
ah was cargo culting a bit from fs_util, thanks for the pointer!
yep that was it!