shards cli argument should be an integer

Passing the string argument in will make the slice fail, which causes
the index to be built immediately.