public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Sami Kerola <kerolasa@iki.fi>
To: util-linux@vger.kernel.org
Cc: kerolasa@iki.fi
Subject: [PATCH 2/2] docs: arch is gone, use delpart as usage() function example
Date: Thu, 21 Mar 2013 21:47:15 +0000	[thread overview]
Message-ID: <1363902435-1487-2-git-send-email-kerolasa@iki.fi> (raw)
In-Reply-To: <1363902435-1487-1-git-send-email-kerolasa@iki.fi>

The arch.c was removed in commit 27abd809.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
---
 Documentation/howto-usage-function.txt | 2 +-
 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 371ff32..4daa736 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 ec1020e..d2d68c3 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")
-- 
1.8.2


  reply	other threads:[~2013-03-21 21:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-21 21:47 [PATCH 1/2] blkid: use xalloc.h when possible Sami Kerola
2013-03-21 21:47 ` Sami Kerola [this message]
2013-03-26  9:55   ` [PATCH 2/2] docs: arch is gone, use delpart as usage() function example Karel Zak
2013-03-26  9:54 ` [PATCH 1/2] blkid: use xalloc.h when possible Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1363902435-1487-2-git-send-email-kerolasa@iki.fi \
    --to=kerolasa@iki.fi \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox