mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-10-18 06:27:56 +00:00
@@ -339,7 +339,7 @@ class ConfigTool(metaclass=ABCMeta):
|
|||||||
title='Commands')
|
title='Commands')
|
||||||
self._common_parser_options(file_type)
|
self._common_parser_options(file_type)
|
||||||
self.custom_parser_options()
|
self.custom_parser_options()
|
||||||
self.parser_args = self.parser.parse_args()
|
self.args = self.parser.parse_args()
|
||||||
self.config = Config() # Make the pylint happy
|
self.config = Config() # Make the pylint happy
|
||||||
|
|
||||||
def add_adapter(self, name, function, description):
|
def add_adapter(self, name, function, description):
|
||||||
@@ -396,7 +396,7 @@ class ConfigTool(metaclass=ABCMeta):
|
|||||||
def main(self):
|
def main(self):
|
||||||
"""Common main fuction for config manipulation tool."""
|
"""Common main fuction for config manipulation tool."""
|
||||||
|
|
||||||
args = self.parser_args
|
args = self.args
|
||||||
config = self.config
|
config = self.config
|
||||||
|
|
||||||
if args.command is None:
|
if args.command is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user