def add_source_format_arg(parser):
    """
    Adds source format option to parser

    :param parser: the parser to add the source format option to
    :return: None
    """
    parser.add_argument('-s', '--sourceformat', help=
        'encoding format of source file', choices=['ebcdic', 'ascii'],
        default='ebcdic')
    parser.add_argument('--no1014blocking', help=
        'do not use 1014 block format. Just vbs type record', dest=
        'no_1014_blocking', action='store_true')
