Skip to content

Commit 9d8db67

Browse files
pd-ctl: fix region keyspace command help text
Clarify that table-id is an optional filter on keyspace lookup and align the new test file header year with the current review update. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai> Signed-off-by: Ryan Leung <rleungx@gmail.com>
1 parent a54a122 commit 9d8db67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/pd-ctl/pdctl/command/region_command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ func NewRegionWithKeyspaceCommand() *cobra.Command {
538538
}
539539
r.AddCommand(&cobra.Command{
540540
Use: "id <keyspace_id> [table-id <table_id>] [<limit>]",
541-
Short: "show region information for the given keyspace id",
541+
Short: "show region information for the given keyspace id, optionally filtered by table id",
542542
Run: showRegionWithKeyspaceCommandFunc,
543543
})
544544
return r

tools/pd-ctl/pdctl/command/region_command_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 TiKV Project Authors.
1+
// Copyright 2026 TiKV Project Authors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)