Adds user friendly message when --segment-size is a non-integer

Change-Id: Ic2c062110b2fe2e725b0f4a4517a300cfbf663a8
Merge "Adds user friendly message when --segment-size is a non-integer"