sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit f9a7a7e59f9433241144a7a307688de7d46d42c1
parent a7ad11ed5e3300c4d8eeab4d01a0a32eaf1f522d
Author: sin <sin@2f30.org>
Date:   Thu, 13 Nov 2014 14:26:38 +0000

Fix argument naming in dirname(1)

Diffstat:
Mdirname.1 | 4++--
Mdirname.c | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dirname.1 b/dirname.1 @@ -3,11 +3,11 @@ dirname \- strip final path component .SH SYNOPSIS .B dirname -.I string +.I pathname .SH DESCRIPTION .B dirname prints the -.I string +.I pathname with its final path component removed. .SH SEE ALSO .IR basename (1), diff --git a/dirname.c b/dirname.c @@ -8,7 +8,7 @@ static void usage(void) { - eprintf("usage: %s string\n", argv0); + eprintf("usage: %s pathname\n", argv0); } int