Starting support for --param ; some fixes
Starting support for --param ; some fixes

The option for -s didn't have longoption support previously. Factored
out format-finding. Used consistent ordering for option declaration and
processing.

kulp/tenyr,kulp/tenyr,kulp/tenyr