vtallow, who: usage using argv0 - ubase - suckless linux base utils
(HTM) git clone git://git.suckless.org/ubase
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 96c15e765b083556aa3b46ecabb7264ec96a40f1
(DIR) parent c7f472f468135f5294b3a51ccf1fdd162aa3653b
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 2 Feb 2015 19:58:00 +0100
vtallow, who: usage using argv0
Diffstat:
M vtallow.c | 2 +-
M who.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
(DIR) 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
(DIR) 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