mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
brought back --unlock option for backward compatibility
This commit is contained in:
parent
93a602398e
commit
4fd1e982d5
@ -78,6 +78,8 @@ def main(argv: Optional[List[str]]=None) -> None:
|
||||
metavar="<path>", help="Set the image file")
|
||||
parser.add_argument("--eject", action="store_true",
|
||||
help="Eject the image")
|
||||
parser.add_argument("--unlock", action="store_true",
|
||||
help="Does nothing, just for backward compatibility")
|
||||
options = parser.parse_args(argv[1:])
|
||||
|
||||
if config.kvmd.msd.type != "otg":
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user