Commit f8fe1f97 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Add support for long flags.

parent 625ebcde
......@@ -81,9 +81,9 @@ class Command(object):
return False
def getopt(self, p_flags):
def getopt(self, p_flags, p_long=[]):
try:
result = getopt.getopt(self.args, p_flags)
result = getopt.getopt(self.args, p_flags, p_long)
except getopt.GetoptError:
result = ([],self.args)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment