aphyr/jepsen — pull request #18 by colin-scott (2014-04-10 06:06:30+00:00)
Title: Sanity check app-names given on command line.

I tried running `lein run redis`, as in the blog [post](http://aphyr.com/posts/283-call-me-maybe-redis), and got a cryptic stack trace:

```
java.lang.NullPointerException
at jepsen.set_app$apps$fn__119.invoke(set_app.clj:118)
at clojure.core$map$fn__4245.invoke(core.clj:2559)
...
```

This issue was that app-fn was null, since apparently "redis" is no longer in bin.clj's app-map.

This commit sanity checks command line arguments.