bug#42496: Option not working in scripting mode.

Sachiel2008 via Bug reports for the GNU Parted disk partition editor <[email protected]> Thu, 23 Jul 2020 18:13:03 +0000
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <7hlQfsm4ZZmdfx-2U1rCURaDQ-zjHyuqWpQNBBmhOSVUDkzWs4ti8-79IQESYGAYnOyGgerRmGy9UrQSlYZFUh_SK3Bh6SSQ7fU7DaN6-UE=@protonmail.com>
Dear GNU

I found the following command op the internet:

> root@localhost # parted -a optimal /dev/sda
>
> (parted) unit mib
>
> (parted) mkpart primary 515 -1

However, when I try to turn it into a part of a script like this:

> root@localhost # parted --script /dev/sda mkpart primary 515 -1

Greetings, Sachiel2008