]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_db: add -d to short help for write command
authorEric Sandeen <sandeen@redhat.com>
Mon, 28 Jan 2019 22:11:19 +0000 (16:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Mon, 28 Jan 2019 22:11:19 +0000 (16:11 -0600)
And note in the man page that -c and -d are exclusive.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/write.c
man/man8/xfs_db.8

index e25d6ea873cbf34490dfa5f037a41cc4dd9bf479..0592a099bb535c8200ce909bd48e5993865c6115 100644 (file)
@@ -26,7 +26,7 @@ static int    write_f(int argc, char **argv);
 static void     write_help(void);
 
 static const cmdinfo_t write_cmd =
-       { "write", NULL, write_f, 0, -1, 0, N_("[-c] [field or value]..."),
+       { "write", NULL, write_f, 0, -1, 0, N_("[-c|-d] [field or value]..."),
          N_("write value to disk"), write_help };
 
 void
index 10f2beb9104a8518f0da9c3f13cfc7269231d6aa..a1ee3514f40f21e5510a87e0dea8f1e7c70a02c9 100644 (file)
@@ -837,7 +837,7 @@ and
 bits respectively, and their string equivalent reported
 (but no modifications are made).
 .TP
-.BI "write [\-c] [\-d] [" "field value" "] ..."
+.BI "write [\-c|\-d] [" "field value" "] ..."
 Write a value to disk.
 Specific fields can be set in structures (struct mode),
 or a block can be set to data values (data mode),