[PATCH 7/8] bin/*: update inline help to indicate possibility of accessing filesystem by mountpoint pathname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux