From: Sami Kerola Date: Thu, 21 Mar 2013 21:47:15 +0000 (+0000) Subject: docs: arch is gone, use delpart as usage() function example X-Git-Tag: v2.23-rc2~120 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ba83ec2e035fa9d78b89992b01683f5c5ca90cc;p=thirdparty%2Futil-linux.git docs: arch is gone, use delpart as usage() function example The arch.c was removed in commit 27abd809. Signed-off-by: Sami Kerola --- diff --git a/Documentation/howto-usage-function.txt b/Documentation/howto-usage-function.txt index 371ff328f9..4daa736256 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 ec1020ee0f..d2d68c31df 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")