File tree Expand file tree Collapse file tree 4 files changed +7
-153
lines changed Expand file tree Collapse file tree 4 files changed +7
-153
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ func (cl *commandline) Register(rootCmd *cobra.Command) *cobra.Command {
9292 cl .stats (rootCmd )
9393 cl .serverConfig (rootCmd )
9494 cl .database (rootCmd )
95- cl .printTree (rootCmd )
9695 return rootCmd
9796}
9897
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -46,12 +46,14 @@ func (cl *commandline) status(cmd *cobra.Command) {
4646
4747func (cl * commandline ) stats (cmd * cobra.Command ) {
4848 ccmd := & cobra.Command {
49- Use : "stats" ,
50- Short : fmt .Sprintf ("Show statistics as text or visually with the '-v' option. Run 'immuadmin stats -h' for details." ),
51- Aliases : []string {"s" },
52- PersistentPreRunE : cl .ConfigChain (cl .connect ),
53- PersistentPostRun : cl .disconnect ,
49+ Use : "stats" ,
50+ Short : fmt .Sprintf ("Show statistics as text or visually with the '-v' option. Run 'immuadmin stats -h' for details." ),
51+ Aliases : []string {"s" },
52+ /* PersistentPreRunE: cl.ConfigChain(cl.connect),
53+ PersistentPostRun: cl.disconnect,*/
5454 RunE : func (cmd * cobra.Command , args []string ) error {
55+ fmt .Print ("Not yet supported in v0.9.0\n " )
56+ return nil
5557 raw , err := cmd .Flags ().GetBool ("raw" )
5658 if err != nil {
5759 c .QuitToStdErr (err )
You can’t perform that action at this time.
0 commit comments