mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-02-17 22:11:30 +08:00
Make the switch name clearer
This commit is contained in:
@@ -227,7 +227,7 @@ pub fn core_main() -> Option<Vec<String>> {
|
||||
}
|
||||
}
|
||||
return None;
|
||||
} else if args[0] == "--id" {
|
||||
} else if args[0] == "--get-id" {
|
||||
if crate::platform::is_root() {
|
||||
println!("{}", crate::ipc::get_id());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user