Merge "Stack: Fix argument-less invocation" am: f54ccd7f3f
am: df910e694a
Change-Id: I344237fc13e450dd9d2b94c17eebe3e5826bedb0
This commit is contained in:
@@ -29,6 +29,7 @@ def main():
|
|||||||
parser.add_argument('file',
|
parser.add_argument('file',
|
||||||
metavar='FILE',
|
metavar='FILE',
|
||||||
default='-',
|
default='-',
|
||||||
|
nargs='?', # Required for default.
|
||||||
help='should contain a stack trace in it somewhere the '
|
help='should contain a stack trace in it somewhere the '
|
||||||
'tool will find that and re-print it with source '
|
'tool will find that and re-print it with source '
|
||||||
'files and line numbers. If you don\'t pass FILE, '
|
'files and line numbers. If you don\'t pass FILE, '
|
||||||
|
|||||||
Reference in New Issue
Block a user