Commit c0d850b4 authored by Seblu's avatar Seblu
Browse files

server -f now ask server functions and not list_command

parent f9eeedff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ class Command_server(OptionCommand):

    def show_functions(self):
        try:
            for cmds in self.cli.rpc.call("list_commands"):
            for cmds in self.cli.rpc.call("functions"):
                self.printer.out("%s"%cmds["name"])
        except RpcError as e:
            raise cmdError("RPCError: %s"%str(e))