lib/ppl/command/org.rb in ppl-0.9.0 vs lib/ppl/command/org.rb in ppl-1.0.0

- old
+ new

@@ -40,10 +40,15 @@ end def show_organization(input, output) contact = @storage.require_contact(input.arguments[0]) organization = @show_format.process(contact) - output.line(organization) + if organization != "" + output.line(organization) + true + else + false + end end def set_organization(input, output) contact = @storage.require_contact(input.arguments[0]) contact.organization = input.arguments[1].dup