summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSami Kerola2013-03-21 22:47:15 +0100
committerKarel Zak2013-03-26 10:53:30 +0100
commit2ba83ec2e035fa9d78b89992b01683f5c5ca90cc (patch)
tree6860aa1b95e6817cd39c22901edf476d996874fd
parentblkid: use xalloc.h when possible (diff)
downloadkernel-qcow2-util-linux-2ba83ec2e035fa9d78b89992b01683f5c5ca90cc.tar.gz
kernel-qcow2-util-linux-2ba83ec2e035fa9d78b89992b01683f5c5ca90cc.tar.xz
kernel-qcow2-util-linux-2ba83ec2e035fa9d78b89992b01683f5c5ca90cc.zip
docs: arch is gone, use delpart as usage() function example
The arch.c was removed in commit 27abd809. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-rw-r--r--Documentation/howto-usage-function.txt2
-rw-r--r--include/c.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/howto-usage-function.txt b/Documentation/howto-usage-function.txt
index 371ff328f..4daa73625 100644
--- a/Documentation/howto-usage-function.txt
+++ b/Documentation/howto-usage-function.txt
@@ -153,5 +153,5 @@ are meant this.
Example
-------
-Command sys-utils/arch.c is a minimal example how to do write usage
+Command disk-utils/delpart.c is a minimal example how to do write usage
function, setup option parsing, version printing and so on.
diff --git a/include/c.h b/include/c.h
index ec1020ee0..d2d68c31d 100644
--- a/include/c.h
+++ b/include/c.h
@@ -262,7 +262,7 @@ static inline int usleep(useconds_t usec)
/*
* Constant strings for usage() functions. For more info see
- * Documentation/howto-usage-function.txt and sys-utils/arch.c
+ * Documentation/howto-usage-function.txt and disk-utils/delpart.c
*/
#define USAGE_HEADER _("\nUsage:\n")
#define USAGE_OPTIONS _("\nOptions:\n")