diff options
author | LeRoyce Pearson <minergeemili@gmail.com> | 2016-07-21 22:26:22 +0000 |
---|---|---|
committer | LeRoyce Pearson <minergeemili@gmail.com> | 2016-07-21 22:26:22 +0000 |
commit | 06c344c9d0f1f9afb86febee1cc00bdca19dcc8e (patch) | |
tree | c21def676ce83c0c7222e7487ba889ea73ab3683 /bin | |
parent | d60c558cda6fbd9e76bd378710fc035099481f99 (diff) |
Debug flag is now inserted at the beginning of the arguments.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/src/main.rs b/bin/src/main.rs index 838b132a..c3847e65 100644 --- a/bin/src/main.rs +++ b/bin/src/main.rs @@ -166,7 +166,7 @@ fn main() { s => { let mut subcommand_args = find_args(s); if is_debug && subcommand_args.iter().find(is_debug_flag).is_none() { - subcommand_args.push(String::from(DBG_FLAG)); + subcommand_args.insert(0, String::from(DBG_FLAG)); } match Command::new(format!("imag-{}", s)) .stdin(Stdio::inherit()) |