Skip to content

Commit

Permalink
updated usage msgs to reflect new key access style
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Sep 25, 2011
1 parent de7798b commit d04aca1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/scala/jot.scala
Expand Up @@ -36,7 +36,7 @@ object Plugin extends sbt.Plugin {
out.log.info("jottings..")
IO.touch(jf)
lines(jf) match {
case Array() => out.log.info("you have none. try jot:down some ideas")
case Array() => out.log.info("you have none. try `jot some ideas`")
case ts => ts.foreach { _ match {
case(l, n) => out.log.info(
(if(clrs) "\033[0;36m%s\033[0m) \033[0;37m%s\033[0m" else "%s) %s") format(n, l)
Expand All @@ -57,7 +57,7 @@ object Plugin extends sbt.Plugin {
jot <<= inputTask { (argsTask: TaskKey[Seq[String]]) =>
(argsTask, streams, jotFile in jot, colors in jot) map { (args, out, jf, clrs) =>
args.mkString(" ").trim match {
case "" => out.log.error("usage: jot:down some ideas")
case "" => out.log.error("usage: `jot some ideas`")
case thought =>
IO.touch(jf)
IO.append(jf, thought + "\n\n")
Expand Down Expand Up @@ -86,7 +86,7 @@ object Plugin extends sbt.Plugin {
.mkString("","\n\n","\n\n")
)
}
case _ => out.log.error("usage: jot:rm <num>")
case _ => out.log.error("usage: rm(for jot) <num>")
}
}
},
Expand Down

0 comments on commit d04aca1

Please sign in to comment.