def create_parser():
    """Creates the Namespace object to be used by the rest of the tool"""
    parser = argparse.ArgumentParser(description=__doc__)

    parser.add_argument('-d', '--dictionary',
                        nargs='?',
                        default='dictionaries/all_en_US.dict',
                        help='Specify a non-default word dictionary to use.')
    parser.add_argument('-c', '--count',
                        help='Specify the number of words to return.',
                        type=int)
    parser.add_argument('-i', '--initials',
                        type=str,
                        help='String of letters used to form the word list')
    parser.add_argument('-s', '--seed',
                        help='Specify the seed to use for the random number '
                        'generator. Using the same seed without changing '
                        'other settings will give repeatable results.',
                        type=int)
    parser.add_argument('-ws', '--wordstyle',
                        nargs='?',
                        default='lowercase',
                        type=str,
                        help='Specify how to style the individual words. '
                        'Default is lowercase.')
    parser.add_argument('-sep', '--separator',
                        nargs='?',
                        default=' ',
                        type=str,
                        help='How to separate words. Default is space.')

    return parser.parse_args()
Creates the Namespace object to be used by the rest of the tool