Skip to content

Commit

Permalink
README update for version 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gleitz committed Feb 17, 2013
1 parent ac93ee8 commit 9c58c91
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CHANGES.txt
Expand Up @@ -3,7 +3,7 @@

- Added multiple answers with -n/--num-answers flag
- Added colorized output with -c/--color flag
- Added answer link to the bottom questions with -a/--all flag
- Added answer link to the bottom of questions with -a/--all flag
- Unit tests now managed through Travis CI

1.0
Expand Down
6 changes: 3 additions & 3 deletions README.rst
@@ -1,5 +1,5 @@
howdoi - a code search tool
===========================
howdoi - instant coding answers via the command line
====================================================

.. image:: https://secure.travis-ci.org/gleitz/howdoi.png?branch=master

Expand Down Expand Up @@ -68,7 +68,7 @@ Usage

usage: howdoi.py [-h] [-p POS] [-a] [-l] [-c] [-n NUM_ANSWERS] QUERY [QUERY ...]

code search tool
instant coding answers via the command line

positional arguments:
QUERY the question to answer
Expand Down
4 changes: 2 additions & 2 deletions howdoi.rb
Expand Up @@ -2,8 +2,8 @@

class Howdoi < Formula
homepage 'https://github.com/gleitz/howdoi/'
url 'http://pypi.python.org/packages/source/h/howdoi/howdoi-1.0.tar.gz'
sha1 'a074e523b7e00c5ab42b9539694bc37071d3363c'
url 'http://pypi.python.org/packages/source/h/howdoi/howdoi-1.1.tar.gz'
sha1 '6a7111a77e42ad99c906b376029b344f2c3c9a87'

def install
setup_args = ['setup.py', 'install']
Expand Down
8 changes: 4 additions & 4 deletions howdoi/howdoi.py
@@ -1,12 +1,12 @@
#!/usr/bin/env python

##################################################
######################################################
#
# howdoi - a code search tool.
# howdoi - instant coding answers via the command line
# written by Benjamin Gleitzman (gleitz@mit.edu)
# inspired by Rich Jones (rich@anomos.info)
#
##################################################
######################################################

import argparse
import re
Expand Down Expand Up @@ -140,7 +140,7 @@ def howdoi(args):


def get_parser():
parser = argparse.ArgumentParser(description='code search tool')
parser = argparse.ArgumentParser(description='instant coding answers via the command line')
parser.add_argument('query', metavar='QUERY', type=str, nargs='+',
help='the question to answer')
parser.add_argument('-p','--pos', help='select answer in specified position (default: 1)', default=1, type=int)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -38,7 +38,7 @@ def read(*names):
setup(
name='howdoi',
version=howdoi.__version__,
description='A code search tool',
description='Instant coding answers via the command line',
long_description=long_description,
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down

0 comments on commit 9c58c91

Please sign in to comment.