Author ustinov
Recipients ustinov
Date 2013-10-31.17:32:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In order to migrate from optparse to argparse we need to have an ability to substitute anguments, e.g. remove and then create.

In our framework we use the command line utility base class and then inherit the particular tools from it. The parser in base class uses add_argument() to populate the general argument list but for some tools it is needed to modify the inherited arguments set and make some arguments to have the modified meaning.

With optparse we've just used remove_option() and then added the modified one with add_option() but argparse currently does not have this functionality.

For the purpose above we just need to have remove_argument() or modify_argument() methods in orgparse
Date User Action Args
2013-10-31 17:32:58ustinovsetrecipients: + ustinov
2013-10-31 17:32:58ustinovsetmessageid: <>
2013-10-31 17:32:58ustinovlinkissue19462 messages
2013-10-31 17:32:58ustinovcreate