Index name mistake
This commit is contained in:
@@ -81,13 +81,14 @@ mode_group = parser.add_argument_group('Mode')
|
||||
mode_group.add_argument('-A', '--ALL', action='store_true',
|
||||
help='Send all possible data: song, artist and album')
|
||||
mode_group.add_argument('-D', '--DELETE', action='store_true',
|
||||
help='Delete old index')
|
||||
help='Delete old index (precise name with -idx argument)')
|
||||
# Settings
|
||||
g_settings_group = parser.add_argument_group('Global Settings')
|
||||
g_settings_group.add_argument('-els', '--elasticsearch-url', default=ELASTICSEARCH_URL, nargs='?',
|
||||
help="Elasticsearch URL to send data (default: \'{}\')".format(ELASTICSEARCH_URL))
|
||||
g_settings_group.add_argument('-idx', '--index-name', default=INDEX_NAME,
|
||||
help="Index name in Elasticsearch for data (default: \'{}\')".format(INDEX_NAME))
|
||||
help="Index name in Elasticsearch ONLY FOR DELETING! (default: \'{}\'). ".format(INDEX_NAME) +
|
||||
"When sending data, index name is specified in JSON files.")
|
||||
|
||||
if __name__ == '__main__':
|
||||
args = parser.parse_args()
|
||||
|
||||
Reference in New Issue
Block a user