mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
Unexport cmd.NewCheckCommand
This commit is contained in:
parent
1d941efbb2
commit
004f1c7df1
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ import (
|
|||
|
||||
var checker *ctl.CheckCommand
|
||||
|
||||
func NewCheckCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command {
|
||||
func newCheckCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command {
|
||||
checker = ctl.NewCheckCommand(os.Stdin, os.Stdout, os.Stderr)
|
||||
checkCmd := &cobra.Command{
|
||||
Use: "check <path> [path2]...",
|
||||
|
|
@ -50,5 +50,5 @@ Performs a consistency check on data files.
|
|||
}
|
||||
|
||||
func init() {
|
||||
subcommandFns["check"] = NewCheckCommand
|
||||
subcommandFns["check"] = newCheckCommand
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue