diff .emacs @ 585:1e3b778be7e4

STUB: .emacs
author Jeff Hammel <k0scist@gmail.com>
date Thu, 23 Jan 2014 11:27:02 -0800
parents 980fd762e354
children e14ba4fbc0e7
line wrap: on
line diff
--- a/.emacs	Wed Jan 22 20:17:12 2014 -0800
+++ b/.emacs	Thu Jan 23 11:27:02 2014 -0800
@@ -153,8 +153,9 @@
 (fset 'pytodo "raise NotImplementedError('TODO') # -> record TODO items")
 
 (fset 'python-file "#!/usr/bin/env python
+# -*- coding: utf-8 -*-
 
-import optparse
+import argpase
 import os
 import sys
 
@@ -163,7 +164,7 @@
 def main(args=sys.argv[1:]):
 
     usage = '%prog [options]'
-    parser = optparse.OptionParser(usage=usage, description=__doc__)
+    parser = argparse.ArgumentParser(usage=usage, description=__doc__)
     options, args = parser.parse_args(args)
 
 if __name__ == '__main__':