mirror of https://github.com/etcd-io/bbolt.git
commit
f5447f026e
|
@ -10,7 +10,7 @@ import (
|
|||
bolt "go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
func newInspectCobraCommand() *cobra.Command {
|
||||
func newInspectCommand() *cobra.Command {
|
||||
inspectCmd := &cobra.Command{
|
||||
Use: "inspect",
|
||||
Short: "inspect the structure of the database",
|
||||
|
|
|
@ -17,9 +17,9 @@ func NewRootCommand() *cobra.Command {
|
|||
}
|
||||
|
||||
rootCmd.AddCommand(
|
||||
newVersionCobraCommand(),
|
||||
newVersionCommand(),
|
||||
newSurgeryCobraCommand(),
|
||||
newInspectCobraCommand(),
|
||||
newInspectCommand(),
|
||||
newCheckCommand(),
|
||||
)
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"go.etcd.io/bbolt/version"
|
||||
)
|
||||
|
||||
func newVersionCobraCommand() *cobra.Command {
|
||||
func newVersionCommand() *cobra.Command {
|
||||
versionCmd := &cobra.Command{
|
||||
Use: "version",
|
||||
Short: "print the current version of bbolt",
|
||||
|
|
Loading…
Reference in New Issue