changeset 30:66382932514e

more stubbing
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 06 Jun 2011 11:43:20 -0700
parents 000e175169c2
children 8ffddc58dc81
files pyloader/parser.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pyloader/parser.py	Mon Jun 06 11:18:31 2011 -0700
+++ b/pyloader/parser.py	Mon Jun 06 11:43:20 2011 -0700
@@ -3,3 +3,7 @@
 """
 free-form command-line parser
 """
+
+def parse(args, **kwargs):
+    parser = OptionParser(**kwargs)
+    options, args = parser.parse_args()