def cmd_settings(args):
    """Print generator settings.

    Parameters
    ----------
    args : `argparse.Namespace`
        Command arguments.
    """
    if args.type == SQLITE:
        storage = SqliteStorage
    else:
        storage = JsonStorage
    storage = storage.load(args.state)
    data = storage.settings
    try:
        del data['markov']['nodes']
    except KeyError:
        pass
    pprint(data)