commit 96c15e765b083556aa3b46ecabb7264ec96a40f1
Author: Hiltjo Posthuma <[email protected]>
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
@@ -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
@@ -12,7 +12,7 @@
static void
usage(void)
{
- eprintf("usage: who [-ml]\n");
+ eprintf("usage: %s [-ml]\n", argv0);
}
int