Fix off-by-one error in show-immediate parsing
This commit is contained in:
parent
b62968379a
commit
37c77d93d7
@ -48,7 +48,7 @@ impl DirectiveAction {
|
||||
},
|
||||
ShowImmediate => {
|
||||
let cur_state = repl.get_cur_language_state();
|
||||
let stage_name = match arguments.get(1) {
|
||||
let stage_name = match arguments.get(0) {
|
||||
Some(s) => s.to_string(),
|
||||
None => return Some(format!("Must specify a thing to debug")),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user