auto_partition accepts command line arguments