mirror of https://github.com/django/django.git
Merge pull request #6389 from Dunedan/ticket_25420
Fixed #25420 -- Documented bash completion exit code behavior.
This commit is contained in:
parent
103d4e1d65
commit
9378229c5e
|
@ -276,7 +276,10 @@ class ManagementUtility(object):
|
||||||
if option[1]:
|
if option[1]:
|
||||||
opt_label += '='
|
opt_label += '='
|
||||||
print(opt_label)
|
print(opt_label)
|
||||||
sys.exit(1)
|
# Exit code of the bash completion function is never passed back to
|
||||||
|
# the user, so it's safe to always exit with 0.
|
||||||
|
# For more details see #25420.
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
def execute(self):
|
def execute(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue