Commit 6b78b1cc authored by Ralf's avatar Ralf
Browse files

Traces of debugging tyshell

parent 92e7d7b2
......@@ -7,6 +7,7 @@ import subprocess
import socket
import pwd
import grp
import traceback
from collections import namedtuple
tuerSock = "/run/tuer.sock"
......@@ -104,6 +105,7 @@ while True:
if res: break
except Exception as e:
print("Error while executing %s: %s" % (command[0], str(e)))
else: # multiple commands fit the prefix
print("Ambiguous command prefix, please choose one of the following:")
print("\t", " ".join(cmdoptions))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment