Merge pull request #6389 from Dunedan/ticket_25420

Fixed #25420 -- Documented bash completion exit code behavior.
This commit is contained in:
Dunedan 2016-04-03 11:52:57 +02:00 committed by Russell Keith-Magee
parent 103d4e1d65
commit 9378229c5e
1 changed files with 4 additions and 1 deletions

View File

@ -276,7 +276,10 @@ class ManagementUtility(object):
if option[1]:
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):
"""