commit 96c15e765b083556aa3b46ecabb7264ec96a40f1
parent c7f472f468135f5294b3a51ccf1fdd162aa3653b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 2 Feb 2015 19:58:00 +0100
vtallow, who: usage using argv0
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vtallow.c b/vtallow.c
@@ -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
@@ -12,7 +12,7 @@
static void
usage(void)
{
- eprintf("usage: who [-ml]\n");
+ eprintf("usage: %s [-ml]\n", argv0);
}
int