move -l options to the end of the command line