Permalink
Browse files

Add version display to executable.

  • Loading branch information...
1 parent bbc5df4 commit 8c15cf81db72ef1931a176a1bf7ca208e6bd027c @benbjohnson committed Mar 16, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 bin/httpng
View
@@ -53,6 +53,9 @@ elsif !File.directory?(options[:output])
exit
end
+# Show version.
+puts "== httpng v#{Httpng::VERSION}"
+
# Run the web server
Httpng::App.set(:public_dir, Dir.getwd())
Httpng::App.set(:output_path, options[:output])

0 comments on commit 8c15cf8

Please sign in to comment.