X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2FGoodFETConsole.py;h=a7eccd32f6b7bf43667be5206b0c07dbf9cfa795;hp=8f6eba8b3ecedd1855d488e504f818c1ddc72d77;hb=cdcbe395eefac158b15a93aa5413cb810939d540;hpb=1c6017d0b18be5b685a6ce257d2e2da110e597a4 diff --git a/client/GoodFETConsole.py b/client/GoodFETConsole.py index 8f6eba8..a7eccd3 100644 --- a/client/GoodFETConsole.py +++ b/client/GoodFETConsole.py @@ -51,6 +51,11 @@ class GoodFETConsole(): self.prompt(); def handle(self, str): """Handle a command string. First word is command.""" + #Lines beginning with ? are cries for help. + if(str[0]=="?"): + print "Term Commands:" + print commands + return; #Lines beginning with # are comments. if(str[0]=="#"): return; #Lines beginning with ! are Python.