changeset 633:d37391e845f5

STUB: .emacs
author Jeff Hammel <k0scist@gmail.com>
date Mon, 24 Feb 2014 14:37:28 -0800
parents 1aca90a263e8
children 4ae9b16a1483
files .emacs
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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__':