Permalink
Browse files

Added description to argparse object.

  • Loading branch information...
1 parent 48c3417 commit 93a2d2938de83ca24f9d308540b149a250c54d7b @Vultaire committed Dec 13, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 rtk_helper.py
View
@@ -6,7 +6,9 @@
import argparse, sys
def parse_args():
- ap = argparse.ArgumentParser()
+ ap = argparse.ArgumentParser(
+ description="Finds Heisig kanji from a KANJIDIC database. Outputs to "
+ "stdout, sorted by Heisig index in ascending order.")
ap.add_argument("kanjidic")
ap.add_argument("from_index", type=int)
ap.add_argument("to_index", type=int)

0 comments on commit 93a2d29

Please sign in to comment.