[hackers] [sbase] Fix argument naming in dirname(1) || sin

From: <git_AT_suckless.org>
Date: Thu, 13 Nov 2014 15:56:39 +0100

commit f9a7a7e59f9433241144a7a307688de7d46d42c1
Author: sin <sin_AT_2f30.org>
Date: Thu Nov 13 14:26:38 2014 +0000

    Fix argument naming in dirname(1)

diff --git a/dirname.1 b/dirname.1
index d750a33..6871f03 100644
--- a/dirname.1
+++ b/dirname.1
_AT_@ -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
index b9c266d..c202f39 100644
--- a/dirname.c
+++ b/dirname.c
_AT_@ -8,7 +8,7 @@
 static void
 usage(void)
 {
- eprintf("usage: %s string\n", argv0);
+ eprintf("usage: %s pathname\n", argv0);
 }
 
 int
Received on Thu Nov 13 2014 - 15:56:39 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 13 2014 - 16:00:18 CET