Merge "Show entire command in error message"

This commit is contained in:
Jenkins 2016-11-15 22:21:45 +00:00 committed by Gerrit Code Review
commit 9a8de2a68a
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ class App(object):
article = 'an'
self.stdout.write('%s: \'%s\' is not %s %s command. '
'See \'%s --help\'.\n'
% (self.NAME, the_cmd, article,
% (self.NAME, ' '.join(argv), article,
self.NAME, self.NAME))
self.stdout.write('Did you mean one of these?\n')
for match in fuzzy_matches: