Skip to content

Commit 7e6b12a

Browse files
authored
Fix wrong default yes/no value (#254)
1 parent 3eca047 commit 7e6b12a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_elasticsearch_dsl/management/commands/search_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def _delete(self, models, options):
122122
if not options['force']:
123123
response = input(
124124
"Are you sure you want to delete "
125-
"the '{}' indexes? [n/Y]: ".format(", ".join(index_names)))
125+
"the '{}' indexes? [y/N]: ".format(", ".join(index_names)))
126126
if response.lower() != 'y':
127127
self.stdout.write('Aborted')
128128
return False

0 commit comments

Comments
 (0)