aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piotrowski <[email protected]>2023-06-29 19:54:43 +0200
committerGitHub <[email protected]>2023-06-29 10:54:43 -0700
commit62ace21a149c34cfe1b5870a76eb036fe805f869 (patch)
tree81a61c1e4495d9efa45cfd3ae20eabf2f736e9d3
parenta9d6b0690b1863f39a7efce08b1227f2e9e26abb (diff)
zdb: Add missing poolname to -C synopsis
Reviewed-by: Tino Reichardt <[email protected]> Reviewed-by: Rob Norris <[email protected]> Signed-off-by: Mateusz Piotrowski <[email protected]> Sponsored-by: Klara Inc. Closes #15014
-rw-r--r--cmd/zdb/zdb.c2
-rw-r--r--man/man8/zdb.83
2 files changed, 3 insertions, 2 deletions
diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c
index 04a10c4ee..9568d2bbf 100644
--- a/cmd/zdb/zdb.c
+++ b/cmd/zdb/zdb.c
@@ -794,7 +794,7 @@ usage(void)
"\t\t[-o <var>=<value>]... [-t <txg>] [-U <cache>] [-x <dumpdir>]\n"
"\t\t[-K <key>] <poolname>/<objset id> [<backupflags>]\n"
"\t%s [-v] <bookmark>\n"
- "\t%s -C [-A] [-U <cache>]\n"
+ "\t%s -C [-A] [-U <cache>] [<poolname>]\n"
"\t%s -l [-Aqu] <device>\n"
"\t%s -m [-AFLPX] [-e [-V] [-p <path> ...]] [-t <txg>] "
"[-U <cache>]\n\t\t<poolname> [<vdev> [<metaslab> ...]]\n"
diff --git a/man/man8/zdb.8 b/man/man8/zdb.8
index 031953c54..52c8e452f 100644
--- a/man/man8/zdb.8
+++ b/man/man8/zdb.8
@@ -14,7 +14,7 @@
.\" Copyright (c) 2017 Lawrence Livermore National Security, LLC.
.\" Copyright (c) 2017 Intel Corporation.
.\"
-.Dd June 4, 2023
+.Dd June 27, 2023
.Dt ZDB 8
.Os
.
@@ -51,6 +51,7 @@
.Fl C
.Op Fl A
.Op Fl U Ar cache
+.Op Ar poolname
.Nm
.Fl E
.Op Fl A