Help message has been fixed. No need for a wrapping tool anymore.

This commit is contained in:
Anirudha Bose 2014-06-18 18:10:12 +05:30 committed by sftnight
parent bea1810af6
commit a507af4684

View File

@ -11,7 +11,7 @@ import inspect
SCRIPT_DIR=os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) SCRIPT_DIR=os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
cling_binary=sys.argv[1] cling_binary=sys.argv[1]
cmd=subprocess.Popen(["echo .help | %s --nologo | fmt -s" %(cling_binary)], stdout=subprocess.PIPE, shell=True) cmd=subprocess.Popen(["echo .help | %s --nologo" %(cling_binary)], stdout=subprocess.PIPE, shell=True)
(out, err) = cmd.communicate() (out, err) = cmd.communicate()
if not err: if not err:
pod_out=open('%s/cling.pod'%(SCRIPT_DIR), 'w') pod_out=open('%s/cling.pod'%(SCRIPT_DIR), 'w')