summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-10-13 12:48:52 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2011-10-13 12:48:52 +0200
commit282322e8364366d0d4bd9fe925c7468179ff4712 (patch)
tree0f75429e39a7afd5a3afb58f65fd9d2846fbace2 /bin
parent316f071a1163c96beeab191a9700f863cfc74405 (diff)
downloadcoderay-282322e8364366d0d4bd9fe925c7468179ff4712.tar.gz
fix warning in "coderay stylesheet" command
Diffstat (limited to 'bin')
-rwxr-xr-xbin/coderay2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/coderay b/bin/coderay
index ccf16a9..d78cd57 100755
--- a/bin/coderay
+++ b/bin/coderay
@@ -197,7 +197,7 @@ when 'li', 'list'
end
end
when 'stylesheet', 'style', 'css'
- puts CodeRay::Encoders[:html]::CSS.new(args.first).stylesheet
+ puts CodeRay::Encoders[:html]::CSS.new(args.first || :default).stylesheet
when 'commands'
commands
when 'help'