puppetlabs/puppetdb — pull request #542 by kbarber (2013-06-28 21:19:03+00:00)
Title: Coerce -p values for export/import cli to Integer

The -p option when used was throwing an assertion error, due to it being passed
to downstream functions as a string. This patch coerces these values to an
Integer at the clojure.tools.cli level.

Extra tests have been added to test setting -p and -H explicitly also.

Signed-off-by: Ken Barber