diff options
author | Sami Kerola | 2013-03-21 22:47:15 +0100 |
---|---|---|
committer | Karel Zak | 2013-03-26 10:53:30 +0100 |
commit | 2ba83ec2e035fa9d78b89992b01683f5c5ca90cc (patch) | |
tree | 6860aa1b95e6817cd39c22901edf476d996874fd | |
parent | blkid: use xalloc.h when possible (diff) | |
download | kernel-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.txt | 2 | ||||
-rw-r--r-- | include/c.h | 2 |
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") |