1 2 3 4 5 6 7
use argument::Argument; #[test] fn arg_help() { let arguments = vec![Argument::new('u', "Check if the u parameter is provided.".to_string())]; ::argument::parser::help("USAGE: test -[PARAMETERS]", arguments); }