diff --git a/pappyproxy/console.py b/pappyproxy/console.py index 892f59d..0e9987c 100644 --- a/pappyproxy/console.py +++ b/pappyproxy/console.py @@ -28,7 +28,7 @@ def print_errors(func): def interface_loop(client): cons = Cmd(client=client) load_interface(cons) - sys.argv = [] + sys.argv = sys.argv[:1] cons.cmdloop() def load_interface(cons):