Changes between Initial Version and Version 1 of Ticket #29152, comment 4


Ignore:
Timestamp:
Feb 24, 2018, 3:07:21 AM (7 years ago)
Author:
Dmitry

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29152, comment 4

    initial v1  
    2626        """
    2727        if not 'prog' in self.parser_kwargs:
    28             self.parser_kwargs['prog'] = os.path.basename(prog_name), subcommand)
     28            self.parser_kwargs['prog'] = "%s %s" % (os.path.basename(prog_name), subcommand)
    2929        if not 'description' in self.parser_kwargs:
    3030            self.parser_kwargs['description'] = self.help or None
Back to Top