summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 86949ee)
raw | patch | inline | side by side (parent: 86949ee)
author | Simon Hausmann <hausmann@kde.org> | |
Mon, 19 Mar 2007 20:02:30 +0000 (21:02 +0100) | ||
committer | Simon Hausmann <hausmann@kde.org> | |
Mon, 19 Mar 2007 20:02:30 +0000 (21:02 +0100) |
Signed-off-by: Simon Hausmann <hausmann@kde.org>
contrib/fast-import/git-p4.py | patch | blob | history |
index 80081560434453e782353af064aebbc99fc8db43..42efc7d9aa29a31e2d45f4d6705e0984dc9fd35c 100755 (executable)
def __init__(self):
self.options = [
]
+ self.description = "A tool to debug the output of p4 -G."
def run(self, args):
for output in p4CmdList(" ".join(args)):
self.options = [
# optparse.make_option("--branch", dest="branch", default="refs/heads/master")
]
+ self.description = "A tool to remove stale unused tags from incremental perforce imports."
def run(self, args):
branch = currentGitBranch()
print "Cleaning out stale p4 import tags..."
printUsage(commands.keys())
sys.exit(2)
-parser = optparse.OptionParser("usage: %prog " + cmdName + " [options]", cmd.options)
+parser = optparse.OptionParser("usage: %prog " + cmdName + " [options]", cmd.options,
+ description = cmd.description)
(cmd, args) = parser.parse_args(sys.argv[2:], cmd);