summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-02-18 16:23:59 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-02-18 16:23:59 +0100
commitb37970f16650b7bef12bee4c2595cb85d1838af5 (patch)
treed6c48576c0ad9ba3d059a8f8fcce16d99248d29f
parent7d2c6c5faf0c2d433f0ee8d8f93f8f791da5b091 (diff)
llmnrd: Fix usage
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--llmnrd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/llmnrd.c b/llmnrd.c
index 442a600..5b1a4ea 100644
--- a/llmnrd.c
+++ b/llmnrd.c
@@ -52,11 +52,11 @@ static void __noreturn usage_and_exit(int status)
{
fprintf(stdout, "Usage: llmnrd [OPTIONS]\n"
"Options:\n"
- " -H, --hostname <name> set hostname to respond with (default: system hostname)\n"
- " -p, --port <number> set port number to listen on (default: %d)\n"
- " -d, --daemonize run as daemon in the background\n"
- " -h, --help show this help and exit\n"
- " -V, --version show version information and exit\n",
+ " -H, --hostname NAME set hostname to respond with (default: system hostname)\n"
+ " -p, --port NUM set port number to listen on (default: %d)\n"
+ " -d, --daemonize run as daemon in the background\n"
+ " -h, --help show this help and exit\n"
+ " -V, --version show version information and exit\n",
LLMNR_UDP_PORT);
exit(status);
}