summaryrefslogtreecommitdiff
path: root/ifpps.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-10-02 08:13:40 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-10-02 08:15:24 +0200
commit1d578a532ac87ede90c01b6a3eb8a8c74eca4787 (patch)
tree2f932acd7935b768e8d8c804d533d6227bee09f9 /ifpps.c
parent2a10fc8c5a9436838b43aa6657548b8edfd181b8 (diff)
ifpps: min: minor: Keep options sorted alphabetically
Keep the options sorted alphabetically, argument options first. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ifpps.c')
-rw-r--r--ifpps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ifpps.c b/ifpps.c
index 6e29ec5..02bb6af 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -75,15 +75,15 @@ static int show_median = 0, show_percentage = 0;
static WINDOW *stats_screen = NULL;
static struct utsname uts;
-static const char *short_options = "d:n:t:colmpPWvh";
+static const char *short_options = "d:n:t:clmopPWvh";
static const struct option long_options[] = {
{"dev", required_argument, NULL, 'd'},
{"num-cpus", required_argument, NULL, 'n'},
{"interval", required_argument, NULL, 't'},
{"csv", no_argument, NULL, 'c'},
- {"omit-header", no_argument, NULL, 'o'},
{"loop", no_argument, NULL, 'l'},
{"median", no_argument, NULL, 'm'},
+ {"omit-header", no_argument, NULL, 'o'},
{"promisc", no_argument, NULL, 'p'},
{"percentage", no_argument, NULL, 'P'},
{"no-warn", no_argument, NULL, 'W'},
@@ -120,9 +120,9 @@ static void __noreturn help(void)
" -n|--num-cpus <num> Number of top hitter CPUs in ncurses mode (def: 5)\n"
" -t|--interval <time> Refresh time in ms (default 1000 ms)\n"
" -c|--csv Output to terminal as Gnuplot-ready data\n"
- " -o|--omit-header Do not print the CSV header\n"
" -l|--loop Continuous CSV output\n"
" -m|--median Display median values\n"
+ " -o|--omit-header Do not print the CSV header\n"
" -p|--promisc Promiscuous mode\n"
" -P|--percentage Show percentage of theoretical line rate\n"
" -W|--no-warn Suppress warnings\n"