Browse Source

docs(delete_command.go) document about recursive implies dir

Xiang Li 12 years ago
parent
commit
c305eda344
1 changed files with 1 additions and 0 deletions
  1. 1 0
      store/v2/delete_command.go

+ 1 - 0
store/v2/delete_command.go

@@ -27,6 +27,7 @@ func (c *DeleteCommand) Apply(server raft.Server) (interface{}, error) {
 	s, _ := server.StateMachine().(store.Store)
 
 	if c.Recursive {
+		// recursive implies dir
 		c.Dir = true
 	}