From 42ca566d26c83d3b330adac194517e7741380270 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Thu, 24 Dec 2009 15:35:58 -0800 Subject: [PATCH] document that -e can read from stdin --- lib/coffee_script/command_line.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/coffee_script/command_line.rb b/lib/coffee_script/command_line.rb index 4cc01e52..8fef1943 100644 --- a/lib/coffee_script/command_line.rb +++ b/lib/coffee_script/command_line.rb @@ -151,7 +151,7 @@ Usage: opts.on('-l', '--lint', 'pipe the compiled JavaScript through JSLint') do |l| @options[:lint] = true end - opts.on('-e', '--eval', 'eval a little scriptlet directly from the cli') do |e| + opts.on('-e', '--eval', 'eval a little scriptlet or read from stdin') do |e| @options[:eval] = true end opts.on('-t', '--tokens', 'print the tokens that the lexer produces') do |t|