linux-nilfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: dexen deVries <dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 7/8] bin/*: update inline help to indicate possibility of accessing filesystem by mountpoint pathname
Date: Thu,  3 Mar 2011 13:47:51 +0100	[thread overview]
Message-ID: <1299156472-4707-7-git-send-email-dexen.devries@gmail.com> (raw)
In-Reply-To: <1299156472-4707-1-git-send-email-dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

---
 bin/chcp.c    |    2 +-
 bin/dumpseg.c |    2 +-
 bin/lscp.c    |    2 +-
 bin/lssu.c    |    2 +-
 bin/mkcp.c    |    2 +-
 bin/rmcp.c    |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/chcp.c b/bin/chcp.c
index 28a66ea..a13abc0 100644
--- a/bin/chcp.c
+++ b/bin/chcp.c
@@ -71,7 +71,7 @@ const static struct option long_option[] = {
 };
 
 #define CHCP_USAGE	\
-	"Usage: %s [OPTION]... " CHCP_MODE_CP "|" CHCP_MODE_SS" [DEVICE] CNO...\n"	\
+	"Usage: %s [OPTION]... " CHCP_MODE_CP "|" CHCP_MODE_SS" [DEVICE|MOUNTPOINT] CNO...\n"	\
 	"  -h, --help\t\tdisplay this help and exit\n"			\
 	"  -V, --version\t\tdisplay version and exit\n"
 #else	/* !_GNU_SOURCE */
diff --git a/bin/dumpseg.c b/bin/dumpseg.c
index 1910296..2d8de79 100644
--- a/bin/dumpseg.c
+++ b/bin/dumpseg.c
@@ -66,7 +66,7 @@ const static struct option long_option[] = {
 };
 
 #define DUMPSEG_USAGE	\
-	"Usage: %s [OPTION]... [DEVICE] SEGNUM...\n"	\
+	"Usage: %s [OPTION]... [DEVICE|MOUNTPOINT] SEGNUM...\n"	\
 	"  -h, --help\t\tdisplay this help and exit\n"	\
 	"  -V, --version\t\tdisplay version and exit\n"
 #else	/* !_GNU_SOURCE */
diff --git a/bin/lscp.c b/bin/lscp.c
index a9be26e..fad5f09 100644
--- a/bin/lscp.c
+++ b/bin/lscp.c
@@ -72,7 +72,7 @@ const static struct option long_option[] = {
 	{"version", no_argument, NULL, 'V'},
 	{NULL, 0, NULL, 0}
 };
-#define LSCP_USAGE	"Usage: %s [OPTION]... [DEVICE]\n"		\
+#define LSCP_USAGE	"Usage: %s [OPTION]... [DEVICE|MOUNTPOINT]\n"		\
 			"  -b, --show-block-count\t\tshow block count\n"\
 			"  -g, --show-increment\t\tshow increment count\n"\
 			"  -r, --reverse\t\treverse order\n"		\
diff --git a/bin/lssu.c b/bin/lssu.c
index e8dccc3..b4e834c 100644
--- a/bin/lssu.c
+++ b/bin/lssu.c
@@ -63,7 +63,7 @@ const static struct option long_option[] = {
 	{NULL, 0, NULL, 0}
 };
 
-#define LSSU_USAGE	"Usage: %s [OPTION]... [DEVICE]\n"		\
+#define LSSU_USAGE	"Usage: %s [OPTION]... [DEVICE|MOUNTPOINT]\n"		\
 			"  -a, --all\t\tdo not hide clean segments\n"	\
 			"  -i, --index\t\tstart index\n"		\
 			"  -n, --lines\t\toutput lines\n"		\
diff --git a/bin/mkcp.c b/bin/mkcp.c
index d2f45e9..92aaad8 100644
--- a/bin/mkcp.c
+++ b/bin/mkcp.c
@@ -64,7 +64,7 @@ const static struct option long_option[] = {
 	{NULL, 0, NULL, 0}
 };
 
-#define MKCP_USAGE	"Usage: %s [OPTION] [DEVICE]\n"			\
+#define MKCP_USAGE	"Usage: %s [OPTION] [DEVICE|MOUNTPOINT]\n"			\
 			"  -s, --snapshot\tcreate a snapshot\n"		\
 			"  -h, --help\t\tdisplay this help and exit\n"	\
 			"  -V, --version\t\tdisplay version and exit\n"
diff --git a/bin/rmcp.c b/bin/rmcp.c
index 91ddf60..455818b 100644
--- a/bin/rmcp.c
+++ b/bin/rmcp.c
@@ -69,7 +69,7 @@ const static struct option long_options[] = {
 	{NULL, 0, NULL, 0}
 };
 #define RMCP_USAGE							\
-	"Usage: %s [OPTION]... [DEVICE] CNO...\n"			\
+	"Usage: %s [OPTION]... [DEVICE|MOUNTPOINT] CNO...\n"			\
 	"  -f, --force\t\tignore snapshots or nonexistent checkpoints\n" \
 	"  -i, --interactive\tprompt before any removal\n"		\
 	"  -h, --help\t\tdisplay this help and exit\n"			\
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2011-03-03 12:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-02 10:13 [PATCH] lscp: support opening mounted filesystem by directory pathname dexen deVries
     [not found] ` <201103021113.32637.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-03-02 11:23   ` Ryusuke Konishi
     [not found]     ` <20110302.202345.74569955.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-03-02 12:43       ` dexen deVries
     [not found]         ` <201103021343.54036.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-03-02 14:21           ` Ryusuke Konishi
     [not found]             ` <20110302.232110.169818198.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-03-03 12:47               ` [PATCH 1/8] " dexen deVries
     [not found]                 ` <1299156472-4707-1-git-send-email-dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-03-03 12:47                   ` [PATCH 2/8] chcp: " dexen deVries
2011-03-03 12:47                   ` [PATCH 3/8] dumpseg: " dexen deVries
2011-03-03 12:47                   ` [PATCH 4/8] lssu: " dexen deVries
2011-03-03 12:47                   ` [PATCH 5/8] mkcp: " dexen deVries
2011-03-03 12:47                   ` [PATCH 6/8] rmcp: " dexen deVries
2011-03-03 12:47                   ` dexen deVries [this message]
2011-03-03 12:47                   ` [PATCH 8/8] update manpages to indicate open-by-mountpoint dexen deVries
2011-03-03 16:15                   ` [PATCH 1/8] lscp: support opening mounted filesystem by directory pathname Ryusuke Konishi
     [not found]                     ` <20110304.011511.83301246.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-03-03 16:23                       ` dexen deVries
     [not found]                         ` <201103031723.22583.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-03-03 17:16                           ` Ryusuke Konishi
     [not found]                             ` <20110304.021603.234305303.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-03-03 18:31                               ` dexen deVries
     [not found]                                 ` <201103031931.32310.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-03-04 10:26                                   ` Ryusuke Konishi
     [not found]                                     ` <20110304.192609.247659638.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-03-04 11:21                                       ` Ryusuke Konishi

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=1299156472-4707-7-git-send-email-dexen.devries@gmail.com \
    --to=dexen.devries-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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;
as well as URLs for NNTP newsgroup(s).