There is need to add boundary for input number from commandline, If it beyond the definition, code will return error. Signed-off-by: Wei Zhao <wei.zhao1@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>