diff options
-rw-r--r-- | clab.md | 6 | ||||
-rw-r--r-- | src/main.rs | 2 |
2 files changed, 5 insertions, 3 deletions
@@ -65,11 +65,13 @@ then stdout is exactly "clab found matches:\nalice@example.com\tAlice Atherthon\ ~~~{#address-book.yaml .file .yaml} - name: Alice Atherthon - email: + email: work: alice@example.com + last_checked: 2021-09 - name: Bob Bobbington - email: + email: personal: bob@example.com + last_checked: 2021-09 ~~~ diff --git a/src/main.rs b/src/main.rs index 93c3158..d25fdaa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,7 +42,7 @@ struct Entry { phone: Option<HashMap<String, String>>, irc: Option<HashMap<String, String>>, address: Option<HashMap<String, String>>, - last_checked: Option<String>, + last_checked: String, } impl Entry { |