def add_container_output_args(argument_parser):
    """Define command-line arguments for output of a container (result files).
    @param argument_parser: an argparse parser instance
    """
    argument_parser.add_argument('--output-directory', metavar='DIR',
        default='output.files', help=
        "target directory for result files (default: './output.files')")
    argument_parser.add_argument('--result-files', metavar='PATTERN',
        action='append', default=[], help=
        "pattern for specifying which result files should be copied to the output directory (default: '.')"
        )
