sort the help functions

This commit is contained in:
Jeremy Kauffman 2016-12-13 15:27:23 -05:00 committed by Job Evers-Meltzer
parent f796f701f2
commit 32fa2460ff

View file

@ -1353,7 +1353,7 @@ class Daemon(AuthJSONRPCServer):
"""
if not p:
return self._render_response(self.callable_methods.keys(), OK_CODE)
return self._render_response(sorted(self.callable_methods.keys()), OK_CODE)
elif 'callable_during_start' in p.keys():
return self._render_response(self.allowed_during_startup, OK_CODE)
elif 'function' in p.keys():