aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vorel <pvorel@suse.cz>2023-12-19 07:41:57 +0100
committerPetr Vorel <pvorel@suse.cz>2023-12-19 07:44:28 +0100
commit040709ac065df6e7b031ea0fc2440aab5a320016 (patch)
tree67b09007abdfb6ee54bc5e8a53d7062214e58330
parent2a03f10a0c87bfda88e241ed39d2de1dd30a9f45 (diff)
downloadiputils-040709ac065df6e7b031ea0fc2440aab5a320016.tar.gz
tree: Upper case abbreviations in help
Write DNS and IP abbreviations in upper case. tracepath: add "reverse" to -n Signed-off-by: Petr Vorel <pvorel@suse.cz>
-rw-r--r--arping.c4
-rw-r--r--clockdiff.c6
-rw-r--r--ping/ping_common.c2
-rw-r--r--tracepath.c6
4 files changed, 9 insertions, 9 deletions
diff --git a/arping.c b/arping.c
index 5e7f016..47066a9 100644
--- a/arping.c
+++ b/arping.c
@@ -140,8 +140,8 @@ static void usage(void)
#endif
fprintf(stderr, _(
"\n"
- " -s <source> source ip address\n"
- " <destination> dns name or ip address\n"
+ " -s <source> source IP address\n"
+ " <destination> DNS name or IP address\n"
"\nFor more details see arping(8).\n"
));
exit(2);
diff --git a/clockdiff.c b/clockdiff.c
index ccb5b5b..431631b 100644
--- a/clockdiff.c
+++ b/clockdiff.c
@@ -454,14 +454,14 @@ static void usage(int exit_status)
" clockdiff [options] <destination>\n"
"\nOptions:\n"
" without -o, use icmp timestamp only (see RFC0792, page 16)\n"
- " -o use ip timestamp and icmp echo\n"
- " -o1 use three-term ip timestamp and icmp echo\n"
+ " -o use IP timestamp and icmp echo\n"
+ " -o1 use three-term IP timestamp and icmp echo\n"
" -T, --time-format <ctime|iso>\n"
" specify display time format, ctime is the default\n"
" -I alias of --time-format=iso\n"
" -h, --help display this help\n"
" -V, --version print version and exit\n"
- " <destination> dns name or ip address\n"
+ " <destination> DNS name or IP address\n"
"\nFor more details see clockdiff(8).\n"));
exit(exit_status);
}
diff --git a/ping/ping_common.c b/ping/ping_common.c
index 5a6c35a..4b54fd4 100644
--- a/ping/ping_common.c
+++ b/ping/ping_common.c
@@ -49,7 +49,7 @@ void usage(void)
"\nUsage\n"
" ping [options] <destination>\n"
"\nOptions:\n"
- " <destination> DNS name or ip address\n"
+ " <destination> DNS name or IP address\n"
" -a use audible ping\n"
" -A use adaptive ping\n"
" -B sticky source address\n"
diff --git a/tracepath.c b/tracepath.c
index 10b5a0c..593a1d5 100644
--- a/tracepath.c
+++ b/tracepath.c
@@ -402,13 +402,13 @@ static void usage(void)
"\nOptions:\n"
" -4 use IPv4\n"
" -6 use IPv6\n"
- " -b print both name and ip\n"
+ " -b print both name and IP\n"
" -l <length> use packet <length>\n"
" -m <hops> use maximum <hops>\n"
- " -n no dns name resolution\n"
+ " -n no reverse DNS name resolution\n"
" -p <port> use destination <port>\n"
" -V print version and exit\n"
- " <destination> dns name or ip address\n"
+ " <destination> DNS name or IP address\n"
"\nFor more details see tracepath(8).\n"));
exit(-1);
}