diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-12-12 16:26:32 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-12-12 16:26:32 +0100 |
commit | b8a9e53262ab24231542e9ce93daadaf3809dac2 (patch) | |
tree | 4cda5115b819f51eae9eb37add05ab6f740fc729 /astraceroute.c | |
parent | 49cf9fd16e4d47422b9aec2ab360bfd80e9f67cf (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 'astraceroute.c')
-rw-r--r-- | astraceroute.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/astraceroute.c b/astraceroute.c index cef668a..a801ab1 100644 --- a/astraceroute.c +++ b/astraceroute.c @@ -122,7 +122,7 @@ static const char *copyright = "Please report bugs to <bugs@netsniff-ng.org>\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 struct sock_filter ipv4_icmp_type_11[] = { { 0x28, 0, 0, 0x0000000c }, /* ldh [12] */ @@ -184,7 +184,7 @@ static void signal_handler(int number) static void __noreturn help(void) { - printf("\nastraceroute %s, autonomous system trace route utility\n", VERSION_STRING); + printf("astraceroute %s, autonomous system trace route utility\n", VERSION_STRING); puts("http://www.netsniff-ng.org\n\n" "Usage: astraceroute [options]\n" "Options:\n" @@ -233,16 +233,16 @@ static void __noreturn help(void) " If the TCP probe did not give any results, then astraceroute will\n" " automatically probe for classic ICMP packets! To gather more\n" " information about astraceroute's fetched AS numbers, see e.g.\n" - " http://bgp.he.net/AS<number>!\n\n"); + " http://bgp.he.net/AS<number>!\n"); puts(copyright); die(); } static void __noreturn version(void) { - printf("\nastraceroute %s, Git id: %s\n", VERSION_LONG, GITVERSION); + printf("astraceroute %s, Git id: %s\n", VERSION_LONG, GITVERSION); puts("autonomous system trace route utility\n" - "http://www.netsniff-ng.org\n\n"); + "http://www.netsniff-ng.org\n"); puts(copyright); die(); } |