Status subcommand for circologctl #11

Merged
boyska merged 1 commit from blallo/circolog:statusctl into master 2019-01-03 14:11:58 +01:00

View file

@ -76,6 +76,7 @@ func statusCmd(args []string) error {
case "plain": case "plain":
fmt.Printf("Buffer Size: %d\n", respJSON["status"].Size) fmt.Printf("Buffer Size: %d\n", respJSON["status"].Size)
fmt.Printf("Server Status: %s\n", respJSON["status"].Status()) fmt.Printf("Server Status: %s\n", respJSON["status"].Status())
fmt.Printf("Filter String: %s\n", respJSON["status"].Filter)
} }
return nil return nil
} }