ENH:  Adding specification of \'max\' or \'min\' on the command line.