summaryrefslogtreecommitdiff
path: root/ifpps.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-12-12 16:26:32 +0100
committerTobias Klauser <tklauser@distanz.ch>2014-12-12 16:26:32 +0100
commitb8a9e53262ab24231542e9ce93daadaf3809dac2 (patch)
tree4cda5115b819f51eae9eb37add05ab6f740fc729 /ifpps.c
parent49cf9fd16e4d47422b9aec2ab360bfd80e9f67cf (diff)
all: Reduce amount of empty liens in usage and version output a bit
No need for some of the empty lines, remove them to make the output a bit denser. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ifpps.c')
-rw-r--r--ifpps.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ifpps.c b/ifpps.c
index 7dc8e68..e70e8a6 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -99,7 +99,7 @@ static const char *copyright = "Please report bugs to <bugs@netsniff-ng.org>\n"
"Copyright (C) 2013 Tobias Klauser <tklauser@distanz.ch>\n"
"License: GNU GPL version 2.0\n"
"This is free software: you are free to change and redistribute it.\n"
- "There is NO WARRANTY, to the extent permitted by law.\n";
+ "There is NO WARRANTY, to the extent permitted by law.";
static void signal_handler(int number)
{
@@ -122,7 +122,7 @@ static inline int iswireless(const struct ifstat *stats)
static void __noreturn help(void)
{
- printf("\nifpps %s, top-like kernel networking and system statistics\n",
+ printf("ifpps %s, top-like kernel networking and system statistics\n",
VERSION_STRING);
puts("http://www.netsniff-ng.org\n\n"
"Usage: ifpps [options] || ifpps <netdev>\n"
@@ -145,16 +145,16 @@ static void __noreturn help(void)
" ifpps -lpcd wlan0 > plot.dat\n\n"
"Note:\n"
" On 10G cards, RX/TX statistics are usually accumulated each > 1sec.\n"
- " Thus, in those situations, it's good to use a -t of 10sec.\n\n");
+ " Thus, in those situations, it's good to use a -t of 10sec.\n");
puts(copyright);
die();
}
static void __noreturn version(void)
{
- printf("\nifpps %s, Git id: %s\n", VERSION_LONG, GITVERSION);
+ printf("ifpps %s, Git id: %s\n", VERSION_LONG, GITVERSION);
puts("top-like kernel networking and system statistics\n"
- "http://www.netsniff-ng.org\n\n");
+ "http://www.netsniff-ng.org\n");
puts(copyright);
die();
}