From e3f66d1645d8aa6da22965d76e1ede65cb9757d1 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Mon, 28 Jan 2019 16:11:19 -0600 Subject: [PATCH] xfs_db: add -d to short help for write command And note in the man page that -c and -d are exclusive. Signed-off-by: Eric Sandeen Reviewed-by: Darrick J. Wong Reviewed-by: Bill O'Donnell Signed-off-by: Eric Sandeen --- db/write.c | 2 +- man/man8/xfs_db.8 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/write.c b/db/write.c index e25d6ea87..0592a099b 100644 --- a/db/write.c +++ b/db/write.c @@ -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 diff --git a/man/man8/xfs_db.8 b/man/man8/xfs_db.8 index 10f2beb91..a1ee3514f 100644 --- a/man/man8/xfs_db.8 +++ b/man/man8/xfs_db.8 @@ -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), -- 2.39.2