daemon: cleanup command-line options parsing and error handling

Change-Id: I74a475ade44a1fb7e14cea07c5611905c64344fa
diff --git a/.mailmap b/.mailmap
new file mode 100644
index 0000000..4f5fa49
--- /dev/null
+++ b/.mailmap
@@ -0,0 +1,3 @@
+<aa@cs.fiu.edu> <alexander.afanasyev@ucla.edu>
+<davidepesa@gmail.com> <davide.pesavento@lip6.fr>
+<enewberry@email.arizona.edu> <enewberry@cs.arizona.edu>