source --log option via env
Some checks are pending
continuous-integration/drone/push Build is failing

This commit is contained in:
2019-04-02 18:38:45 +02:00
parent 8ea6d6e78d
commit 5976ddecdf
2 changed files with 3 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ pub struct Opts {
#[structopt(short = "I", long = "ignore-socket-err", env = "WG_IGNORE_SOCKET_ERR")]
pub ignore_socket_errors: bool,
#[structopt(short = "l", long = "log")]
#[structopt(short = "l", long = "log", env = "WG_LOG_EVENTS")]
pub log: bool,
#[structopt(name = "SOCKET", parse(from_os_str), env = "WG_EVENT_SOCKET")]