[4.0] 4c03990 Sort options and remove undocumented alias
Lasse Karstensen
lkarsten at varnish-software.com
Thu Jan 15 16:35:43 CET 2015
commit 4c039901c44777fb547b68c770f89cddab115c69
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Wed Jan 7 09:31:07 2015 +0000
Sort options and remove undocumented alias
diff --git a/bin/varnishstat/varnishstat_curses.c b/bin/varnishstat/varnishstat_curses.c
index 00c4dac..bea41e2 100644
--- a/bin/varnishstat/varnishstat_curses.c
+++ b/bin/varnishstat/varnishstat_curses.c
@@ -867,6 +867,10 @@ handle_keypress(int ch)
if (page_start + l_points < n_ptarray - 1)
page_start += l_points;
break;
+ case 'd':
+ hide_unseen = 1 - hide_unseen;
+ rebuild = 1;
+ break;
case 'g':
current = 0;
page_start = 0;
@@ -875,10 +879,6 @@ handle_keypress(int ch)
current = n_ptarray - 1;
page_start = current - l_points + 1;
break;
- case 'd':
- hide_unseen = 1 - hide_unseen;
- rebuild = 1;
- break;
case 'v':
verbosity++;
if (VSC_LevelDesc(verbosity) == NULL)
@@ -886,7 +886,6 @@ handle_keypress(int ch)
rebuild = 1;
break;
case 'q':
- case 'Q':
keep_running = 0;
return;
case '\003': /* Ctrl-C */
More information about the varnish-commit
mailing list