@ -37,6 +37,8 @@ OptionParser.parse do |parser|
else
puts "No process found by the name %s" % p_name
end
exit
parser.on "-k PORT", "--kill-port=PORT", "Kill process on port" do |port|
@ -26,7 +26,7 @@ describe LtnpOperator do
it "should not find record when process doesn't exist" do
sut.search_p_name(existing_p_name).nil?.should be_false
sut.search_p_name(nonsense_p_name).nil?.should be_true