diff --git a/docs/common/rules_index.ldoc b/docs/common/rules_index.ldoc
index 8f5e2f53..eeecdbda 100644
--- a/docs/common/rules_index.ldoc
+++ b/docs/common/rules_index.ldoc
@@ -69,4 +69,6 @@
--
startup\_id | The FreeDesktop StartId |
-- valid | If the client that this object refers to is still managed by awesome |
-- first\_tag | The first tag of the client |
+-- buttons | Get or set mouse buttons bindings for a client |
+-- keys | Get or set keys bindings for a client |
--
diff --git a/lib/awful/button.lua b/lib/awful/button.lua
index 9f296012..af3ccbda 100644
--- a/lib/awful/button.lua
+++ b/lib/awful/button.lua
@@ -103,7 +103,7 @@ button.names = {
-- @param function
--- Execute this mousebinding.
--- @function button:trigger
+-- @method :trigger
function button:set_button(b)
for _, v in ipairs(self) do