From b8a9e53262ab24231542e9ce93daadaf3809dac2 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 12 Dec 2014 16:26:32 +0100 Subject: 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 --- flowtop.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'flowtop.c') diff --git a/flowtop.c b/flowtop.c index c2d9db9..2db5772 100644 --- a/flowtop.c +++ b/flowtop.c @@ -103,7 +103,7 @@ static const char *copyright = "Please report bugs to \n" "Swiss federal institute of technology (ETH Zurich)\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 const char *const l3proto2str[AF_MAX] = { [AF_INET] = "ipv4", @@ -235,7 +235,7 @@ static void flow_entry_get_extended(struct flow_entry *n); static void help(void) { - printf("\nflowtop %s, top-like netfilter TCP/UDP/SCTP/.. flow tracking\n", + printf("flowtop %s, top-like netfilter TCP/UDP/SCTP/.. flow tracking\n", VERSION_STRING); puts("http://www.netsniff-ng.org\n\n" "Usage: flowtop [options]\n" @@ -257,16 +257,16 @@ static void help(void) "Note:\n" " If netfilter is not running, you can activate it with e.g.:\n" " iptables -A INPUT -p tcp -m state --state ESTABLISHED -j ACCEPT\n" - " iptables -A OUTPUT -p tcp -m state --state NEW,ESTABLISHED -j ACCEPT\n\n"); + " iptables -A OUTPUT -p tcp -m state --state NEW,ESTABLISHED -j ACCEPT\n"); puts(copyright); die(); } static void version(void) { - printf("\nflowtop %s, Git id: %s\n", VERSION_LONG, GITVERSION); + printf("flowtop %s, Git id: %s\n", VERSION_LONG, GITVERSION); puts("top-like netfilter TCP/UDP/SCTP/.. flow tracking\n" - "http://www.netsniff-ng.org\n\n"); + "http://www.netsniff-ng.org\n"); puts(copyright); die(); } -- cgit v1.2.3-54-g00ecf