Commit e1240a9b authored by Henning Glawe's avatar Henning Glawe
Browse files

rename cmdline opt --metainfo to --autogenerate_metainfo

parent dbf0e74a
......@@ -765,7 +765,7 @@ if __name__ == "__main__":
help='write annotated/tokenized input files to stderr')
ARGPARSER.add_argument('--dump_ast', action='store_true', default=False,
help='write annotated/tokenized input files to stderr')
ARGPARSER.add_argument('--metainfo', action='store_true', default=False,
ARGPARSER.add_argument('--autogenerate_metainfo', action='store_true', default=False,
help='write nomadmetainfo to stdout')
ARGPARSER.add_argument('fplo_input', type=str, nargs='+', help='FPLO input files')
ARGS = ARGPARSER.parse_args()
......@@ -788,5 +788,5 @@ if __name__ == "__main__":
sys.stderr.write(parser.AST.indented_str(' '))
sys.stdout.flush()
sys.stderr.flush()
if ARGS.metainfo:
if ARGS.autogenerate_metainfo:
parser.AST.declaration_nomadmetainfo(sys.stdout, 'x_fplo_in')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment