def transform_options(self, options):
        options['<device>'] = options.pop('<device>')[0]
There is only one <device> option, but docopt passes it as array
dataset/ETHPy150Open openlmi/openlmi-scripts/commands/storage/lmi/scripts/storage/cmd/partition.py/PartitionCreate.transform_options