def add_ddl_options_to_parser(parser):
    """Add DDL creation options to the parser.

    :param argparse.ArgumentParser parser: The parser to add the args to

    """
    control = parser.add_argument_group('DDL Options')
    control.add_argument('-O', '--no-owner', action='store_true', help=
        'skip restoration of object ownership')
    control.add_argument('-x', '--no-privileges', action='store_true', help
        ='do not include privileges (grant/revoke)')
    control.add_argument('--no-security-labels', action='store_true', help=
        'do not include security label assignments')
    control.add_argument('--no-tablespaces', action='store_true', help=
        'do not include tablespace assignments')
