Skip to content

Commit

Permalink
handle no args
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Jan 21, 2012
1 parent 81cef7c commit 5ea45a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/scala/app.scala
Expand Up @@ -82,6 +82,8 @@ object App {
a.right.map(_.copy(out = Some(new File(o))))
case Seq("-h" | "--help") =>
a.right.map(_.copy(help = true))
case _ =>
a.right.map(_.copy(help = true))
}
}).fold({ s =>
s
Expand Down

0 comments on commit 5ea45a3

Please sign in to comment.