diff options
author | Gilles Moris <gilles.moris@free.fr> | 2019-05-15 06:42:41 +0200 |
---|---|---|
committer | Gilles Moris <gilles.moris@free.fr> | 2019-05-15 06:42:41 +0200 |
commit | a84363b9b1a4c0b309c8cc09a9b812fdd7784fa4 (patch) | |
tree | 36f07c3f0f9d2c0f8ed11a871be186345f75e157 /gptpart.cc | |
parent | 53710d8b51904bd34298ff987b0cbbd89a394b4d (diff) | |
download | sgdisk-a84363b9b1a4c0b309c8cc09a9b812fdd7784fa4.tar.gz |
gdisk: show also previous type as cgdisk does when changing partition type
Diffstat (limited to 'gptpart.cc')
-rw-r--r-- | gptpart.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -442,7 +442,7 @@ void GPTPart::ChangeType(void) { changeName = (GetDescription() == GetTypeName()); #endif - cout << "Current type is '" << GetTypeName() << "'\n"; + cout << "Current type is " << hex << GetHexType() << dec << " (" << GetTypeName() << ")\n"; do { cout << "Hex code or GUID (L to show codes, Enter = " << hex << DEFAULT_GPT_TYPE << dec << "): "; line = ReadString(); |