Cycles standalone, add device type in output listing

This commit is contained in:
Martijn Berger 2015-05-20 17:10:24 +02:00
parent b5bf5b36f1
commit 8dd9b7cc5f
1 changed files with 2 additions and 1 deletions

View File

@ -377,7 +377,8 @@ static void options_parse(int argc, const char **argv)
printf("Devices:\n");
foreach(DeviceInfo& info, devices) {
printf(" %s%s\n",
printf(" %-10s%s%s\n",
Device::string_from_type(info.type).c_str(),
info.description.c_str(),
(info.display_device)? " (display)": "");
}