Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix merge

  • Loading branch information...
commit b250f4d93c90bb82cfcac28038b245ab6234805c 2 parents 815882a + b0cfa4d
@gleitz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  howdoi/howdoi.py
View
2  howdoi/howdoi.py
@@ -82,7 +82,7 @@ def howdoi(args):
def command_line_runner():
parser = argparse.ArgumentParser(description='code search tool')
- parser.add_argument('query', metavar='QUERY', type=str, nargs='+',
+ parser.add_argument('query', metavar='QUERY', type=str, nargs=argparse.REMAINDER,
help='the question to answer')
parser.add_argument('-p','--pos', help='select answer in specified position (default: 1)', default=1)
parser.add_argument('-a','--all', help='display the full text of the answer',
Please sign in to comment.
Something went wrong with that request. Please try again.