Lines Matching refs:options
312 def list_merges(some_hash, target, *options): argument
318 '--merges', *options,
438 def list_files_to_merge(options): argument
445 files_to_merge = glob.glob(os.path.join(options.dir, '*'))
448 readme = os.path.join(options.dir, "00README.md")
460 def merge_entries(options): argument
469 with open(options.input, 'r', encoding='utf-8') as input_file:
471 files_to_merge = list_files_to_merge(options)
478 finish_output(changelog, options.output, options.input, files_to_merge)
479 if not options.keep_entries:
482 def show_file_timestamps(options): argument
487 files = list_files_to_merge(options)
492 def set_defaults(options): argument
494 output_file = getattr(options, 'output', None)
496 options.output = options.input
497 if getattr(options, 'keep_entries', None) is None:
498 options.keep_entries = (output_file is not None)
526 options = parser.parse_args()
527 set_defaults(options)
528 if options.list_files_only:
529 show_file_timestamps(options)
531 merge_entries(options)