def add_arguments(parser):
    """Add command line arguments to an argparse.ArgumentParser instance."""
    parser.add_argument('--app-name', help=
        'name of app for namespace prefixing')
    parser.add_argument('--namespace', help=
        'namespace for prefixing table names')
    parser.add_argument('--storage-type', help=
        'backend type for kvlayer, e.g. "local" or "accumulo"')
    parser.add_argument('--storage-address', action='append', dest=
        'storage_addresses', metavar='HOST:PORT', help=
        'network addresses for kvlayer, can be repeated')
    parser.add_argument('--username', help='username for kvlayer accumulo')
    parser.add_argument('--password', help='password for kvlayer accumulo')
