Comment Comment by satyanash The ruby one with the -run option is a bit nonintuitive in how it works. $ ruby -run -ehttpd . -p8000 The -r option requires un.rb[1] which is a file full of convenience functions, such as httpd in this example. Classic Ruby.Given that go has popularized long args with a single hyphen (-name etc), it is easy to mistake -run as an option by itself.[1] https://github.com/ruby/ruby/blob/master/lib/un.rb#L323 parent satyanash 5 years ago
Given that go has popularized long args with a single hyphen (-name etc), it is easy to mistake -run as an option by itself.
[1] https://github.com/ruby/ruby/blob/master/lib/un.rb#L323