File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def commit(
4848 self ,
4949 confirm : bool = False ,
5050 confirm_delay : Optional [int ] = None ,
51- description : str = "" ,
51+ comment : str = "" ,
5252 read_timeout : float = 120.0 ,
5353 ) -> str :
5454 """
@@ -58,8 +58,8 @@ def commit(
5858 command_string = commit
5959 confirm and confirm_delay:
6060 command_string = commit confirmed timeout <confirm_delay>
61- description:
62- command_string = commit description <description >
61+ comment (mapped to ' description' on device) :
62+ command_string = commit description <comment >
6363
6464 failed commit message example:
6565 % Failed to commit .. As error(s) encountered during commit operation...
@@ -83,8 +83,8 @@ def commit(
8383 command_string += " confirmed"
8484 if confirm_delay :
8585 command_string += f" timeout { str (confirm_delay )} "
86- if description :
87- command_string += f" description { description } "
86+ if comment :
87+ command_string += f" description { comment } "
8888
8989 # Enter config mode (if necessary)
9090 output = self .config_mode ()
You can’t perform that action at this time.
0 commit comments