diff .emacs @ 633:d37391e845f5

STUB: .emacs
author Jeff Hammel <k0scist@gmail.com>
date Mon, 24 Feb 2014 14:37:28 -0800
parents e92bd004b906
children 6dedad97c4eb
line wrap: on
line diff
--- a/.emacs	Sun Feb 23 09:58:57 2014 -0800
+++ b/.emacs	Mon Feb 24 14:37:28 2014 -0800
@@ -165,9 +165,9 @@
 def main(args=sys.argv[1:]):
 
     parser = argparse.ArgumentParser(description=__doc__)
-    parser.add_option('input', nargs='?',
-                      type=argparse.FileType('r'), default=sys.stdin,
-                      help='input file, or read from stdin if ommitted')
+    parser.add_argument('input', nargs='?',
+                        type=argparse.FileType('r'), default=sys.stdin,
+                        help='input file, or read from stdin if ommitted')
     options = parser.parse_args(args)
 
 if __name__ == '__main__':