diff --git a/cmd/influx_inspect/help/help.go b/cmd/influx_inspect/help/help.go index 006d0a208a..ee238c3993 100644 --- a/cmd/influx_inspect/help/help.go +++ b/cmd/influx_inspect/help/help.go @@ -34,6 +34,7 @@ The commands are: export exports raw data from a shard to line protocol help display this help message report displays a shard level report + verify verifies integrity of TSM files "help" is the default command. diff --git a/cmd/influx_inspect/verify/verify.go b/cmd/influx_inspect/verify/verify.go index cc57724375..fb9ec5c7cf 100644 --- a/cmd/influx_inspect/verify/verify.go +++ b/cmd/influx_inspect/verify/verify.go @@ -106,7 +106,7 @@ func (cmd *Command) Run(args ...string) error { // printUsage prints the usage message to STDERR. func (cmd *Command) printUsage() { - usage := fmt.Sprintf(`Verifies the the checksum of shards. + usage := fmt.Sprintf(`Verifies the integrity of TSM files. Usage: influx_inspect verify [flags] diff --git a/man/influx_inspect.txt b/man/influx_inspect.txt index 44bc9c8e54..4859aa0ce3 100644 --- a/man/influx_inspect.txt +++ b/man/influx_inspect.txt @@ -11,6 +11,7 @@ SYNPOSIS 'influx_inspect dumptsm' [options] 'influx_inspect export' [options] 'influx_inspect report' [options] +'influx_inspect verify' [options] DESCRIPTION ----------- @@ -26,6 +27,9 @@ following commands. *report*:: Displays shard level report. +*verify*:: + Verifies integrity of TSM files. + DUMPTSM OPTIONS --------------- -all:: @@ -74,4 +78,9 @@ REPORT OPTIONS -pattern :: Include only files matching a pattern. +VERIFY OPTIONS +-------------- +-dir :: + Root storage path. Defaults to '~/.influxdb'. + include:footer.txt[]