Actually fixed double debug flag this time

This commit is contained in:
geemili 2016-07-19 14:29:23 -05:00
parent 7702cac8fc
commit d838a5c6b0

View file

@ -159,7 +159,7 @@ fn main() {
s => {
let mut subcommand_args = find_args(s);
if is_debug && subcommand_args.iter().find(|x| *x == "debug").is_none() {
if is_debug && subcommand_args.iter().find(|x| *x == "--debug").is_none() {
subcommand_args.push(String::from("--debug"));
}
match Command::new(format!("imag-{}", s))