Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions xorp/cli/cli_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ CliClient::process_char_page_mode(uint8_t val)
//
// Print help
//
if ((val == 'h')) {
if (val == 'h') {
if (! is_help_mode()) {
set_help_mode(true);
_is_page_buffer_mode = &_is_help_buffer_mode;
Expand Down Expand Up @@ -958,7 +958,7 @@ CliClient::process_char_page_mode(uint8_t val)
// Display the output all at once instead of oen screen at a time.
// (Same as specifying the "| no-more" command.)
//
if ((val == 'N')) {
if (val == 'N') {
while (page_buffer_last_line_n() < page_buffer_lines_n()) {
set_page_buffer_mode(false);
cli_print(page_buffer_line(page_buffer_last_line_n()));
Expand Down Expand Up @@ -1021,7 +1021,7 @@ CliClient::process_char_page_mode(uint8_t val)
//
// Redraw the output of the screen
//
if ((val == CHAR_TO_CTRL('l'))) {
if (val == CHAR_TO_CTRL('l')) {
redisplay_screen_label:
size_t i, start_window_line = 0;
set_page_buffer_mode(false);
Expand Down