Skip to content

Commit

Permalink
improve formatting of help message
Browse files Browse the repository at this point in the history
  • Loading branch information
jgthomas committed Jan 19, 2019
1 parent 8be7f9f commit 8e588d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion shell/emulator_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,8 @@ void print_help(bool debug, int instruction_count)
}

print_instructions(instruction_count);
printf("Type 'quit' to exit, 'clear' to clear screen, or 'help' to display all instructions\n\n");
printf("Enter: 'quit' to exit, 'clear' to clear screen, ");
printf("'help' to display this message\n");
printf("Enter: 'debug' to switch to debug mode, or ");
printf("'normal' to switch to normal mode\n\n");
}

0 comments on commit 8e588d6

Please sign in to comment.