parser=argparse.ArgumentParser(description='Printrun 3D printer interface')
foro,ainopts:
parser.add_argument('-c','--conf','--config',help=_("load this file on startup instead of .pronsolerc ; you may chain config files, if so settings auto-save will use the last specified file"),action="append",default=[])
ifoin("-c","--conf","--config"):
parser.add_argument('-e','--execute',help=_("executes command after configuration/.pronsolerc is loaded ; macros/settings from these commands are not autosaved"),action="append",default=[])
self.load_rc(a)
parser.add_argument('filename',nargs='?',help=_("file to load"))