Commit 383ad92e authored by Seblu's avatar Seblu
Browse files

fix ? completion

parent 3cea4a01
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -168,7 +168,7 @@ class Cli(object):
        if len(texte) > 0 and texte[0] == "!":
            return ()
        if len(texte) > 0 and texte[0] == "?":
            texte = texte[1:]
            return [ "?%s"%c for c in  Command.list() + self.alias.keys() if c.startswith(texte[1:]) ]
        return [ c for c in  Command.list() + self.alias.keys() if c.startswith(texte) ]

class CliHandler(RpcHandler):