1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//! ``` //! USAGE: rcdebug <rc_conf_path> //! ``` use rc_conf::RcConf; fn main() { let args = std::env::args().collect::<Vec<_>>(); for path in args[1..].iter() { println!( "{:#?}", RcConf::parse(path).expect("parse should always succeed") ); } }