For example in the below example. print 8 should have printed details on the partition.
I am using latest git, compiled from source. (parted) print Model: ATA ST320LT007-9ZV14 (scsi) Disk /dev/sda: 320GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 4000MB 3999MB primary 2 4000MB 24.0GB 20.0GB primary ext4 boot 4 24.0GB 320GB 296GB extended 5 24.0GB 74.0GB 50.0GB logical 6 74.0GB 262GB 188GB logical 7 266GB 293GB 26.2GB logical 8 293GB 320GB 27.5GB logical sun-ufs (parted) print 8 (parted)