private void modifyPartition(PartitionHelper helper, int id, PrintWriter out)
throws IOException {
long start = ARG_START.getValue();
long size = ARG_SECTORS.isSet() ? ARG_SECTORS.getValue() : ARG_BYTES.getValue();
IBMPartitionTypes type = ARG_TYPE.getValue();
out.println("Init " + id + " with start = " + start + ", size = " + size + ", fs = " +
Integer.toHexString(type.getCode()));
boolean sizeUnit = ARG_BYTES.isSet() ? PartitionHelper.BYTES : PartitionHelper.SECTORS;
helper.modifyPartition(id, false, start, size, sizeUnit, type);
}