diff --git a/milc/milc_interface.py b/milc/milc_interface.py index 092f725..74378df 100644 --- a/milc/milc_interface.py +++ b/milc/milc_interface.py @@ -84,8 +84,8 @@ def subcommands(self) -> Dict[str, Any]: return self.milc.subcommands @property - def subcommand_name(self) -> Any: - return self.milc._subcommand + def subcommand_name(self) -> Optional[str]: + return self.milc.subcommand_name def echo(self, text: str, *args: Any, **kwargs: Any) -> None: """Print colorized text to stdout.