[hackers] [ubase] vtallow, who: usage using argv0 || Hiltjo Posthuma
commit 96c15e765b083556aa3b46ecabb7264ec96a40f1
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Mon Feb 2 19:58:00 2015 +0100
vtallow, who: usage using argv0
diff --git a/vtallow.c b/vtallow.c
index 580c4b6..c43a2b9 100644
--- a/vtallow.c
+++ b/vtallow.c
_AT_@ -18,7 +18,7 @@
static void
usage(void)
{
- eprintf("usage: vtallow n | y\n");
+ eprintf("usage: %s n | y\n", argv0);
}
int
diff --git a/who.c b/who.c
index 2165811..6a28c8c 100644
--- a/who.c
+++ b/who.c
_AT_@ -12,7 +12,7 @@
static void
usage(void)
{
- eprintf("usage: who [-ml]\n");
+ eprintf("usage: %s [-ml]\n", argv0);
}
int
Received on Fri Feb 06 2015 - 16:16:29 CET
This archive was generated by hypermail 2.3.0
: Fri Feb 06 2015 - 16:24:19 CET