diff --git a/dput.py b/dput.py index bb0daed7fcdeabd6f5f8f99f744f6ef94f4ab9ff..56bf70a11176b89b74db573a1d55b2cf3c0144e0 100644 --- a/dput.py +++ b/dput.py @@ -38,6 +38,7 @@ def do_dput(self, subcmd, opts, *args): # osc 1.x removes get_cmd_help, inject a replacement if not hasattr(self, "get_cmd_help"): import argparse + def format_help(subcmd, opts=None, *args): for action in self.argparser._actions: if not isinstance(action, argparse._SubParsersAction):