Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (13 sloc) 314 Bytes
if len(args)==1:
print "You can use one of the following commands"
print "Type help [COMMAND] to get a more detailed help\n"
for i in cmds:
print "\t%s\t-\t%s"%(i[0], i[1])
print ""
elif len(args)==2:
if len(filter(lambda x: x[0]==args[1], cmds))>0:
cnu(args[1])
else:
cnf(args[1])
else:
cnu(args[0])