Fix up a comment and the help text
This commit is contained in:
parent
894359142b
commit
28639b4cac
2 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ import (
|
||||||
"github.com/mdiluz/rove/pkg/version"
|
"github.com/mdiluz/rove/pkg/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Status returns the status of the current server to a gRPC request
|
// ServerStatus returns the status of the current server to a gRPC request
|
||||||
func (s *Server) ServerStatus(context.Context, *rove.ServerStatusRequest) (*rove.ServerStatusResponse, error) {
|
func (s *Server) ServerStatus(context.Context, *rove.ServerStatusRequest) (*rove.ServerStatusResponse, error) {
|
||||||
response := &rove.ServerStatusResponse{
|
response := &rove.ServerStatusResponse{
|
||||||
Ready: true,
|
Ready: true,
|
||||||
|
|
|
@ -39,6 +39,7 @@ func printUsage() {
|
||||||
fmt.Fprintln(os.Stderr, "\tmove BEARING moves the rover in the chosen direction")
|
fmt.Fprintln(os.Stderr, "\tmove BEARING moves the rover in the chosen direction")
|
||||||
fmt.Fprintln(os.Stderr, "\tstash stores the object at the rover location in the inventory")
|
fmt.Fprintln(os.Stderr, "\tstash stores the object at the rover location in the inventory")
|
||||||
fmt.Fprintln(os.Stderr, "\trepair uses an inventory object to repair the rover")
|
fmt.Fprintln(os.Stderr, "\trepair uses an inventory object to repair the rover")
|
||||||
|
fmt.Fprintln(os.Stderr, "\trecharge wait a tick to recharge the rover")
|
||||||
fmt.Fprintln(os.Stderr, "\nEnvironment")
|
fmt.Fprintln(os.Stderr, "\nEnvironment")
|
||||||
fmt.Fprintln(os.Stderr, "\tROVE_USER_DATA path to user data, defaults to "+defaultDataPath)
|
fmt.Fprintln(os.Stderr, "\tROVE_USER_DATA path to user data, defaults to "+defaultDataPath)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue