Fixed a problem with argument recognition.
This commit is contained in:
parent
c608fd2668
commit
17086e7da6
|
@ -14,7 +14,7 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
|
|||
|
||||
[[package]]
|
||||
name = "blinddate"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"enigo",
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
[package]
|
||||
name = "blinddate"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
authors = ["Moridius <moridius-github@posteo.hu>"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
chrono = "0.4.9"
|
||||
enigo = "0.0.13"
|
||||
chrono = "0.4"
|
||||
enigo = "0.0"
|
||||
|
|
|
@ -67,7 +67,7 @@ fn main() {
|
|||
let mut command = String::new();
|
||||
let mut alt_tab = false;
|
||||
|
||||
for arg in env::args() {
|
||||
for arg in env::args().skip(1) {
|
||||
if arg == "--tab" {
|
||||
alt_tab = true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue