allow to directly set the number of partitions in the command line