MCPcopy Create free account
hub / github.com/F-Stack/f-stack / parse_args

Function parse_args

dpdk/buildtools/pmdinfogen.py:214–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212
213
214def parse_args():
215 parser = argparse.ArgumentParser()
216 parser.add_argument("format", help="object file format, 'elf' or 'coff'")
217 parser.add_argument(
218 "input", nargs='+', help="input object file path or '-' for stdin"
219 )
220 parser.add_argument("output", help="output C file path or '-' for stdout")
221 return parser.parse_args()
222
223
224def open_input(path):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected