mirror of
https://github.com/icewind1991/clipboard-sync
synced 2026-06-03 18:34:07 +02:00
add env_logger
This commit is contained in:
parent
bd10da0cbb
commit
ca1c2d0d88
3 changed files with 165 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ extern crate serde;
|
|||
extern crate serde_derive;
|
||||
extern crate serde_json;
|
||||
extern crate ws;
|
||||
extern crate env_logger;
|
||||
|
||||
use clipboard::{ClipboardContext, ClipboardProvider};
|
||||
use common::ClipboardCommand;
|
||||
|
|
@ -25,6 +26,7 @@ fn handle_command(command: ClipboardCommand, ctx: &mut ClipboardContext) {
|
|||
|
||||
|
||||
fn main() {
|
||||
env_logger::init();
|
||||
let args: Vec<_> = env::args().collect();
|
||||
|
||||
if args.len() != 3 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue