id128: refuse --app-specific= if we're listing GPT types
authorMike Yuan <me@yhndnzj.com>
Tue, 16 Jul 2024 19:10:46 +0000 (21:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 17 Jul 2024 07:35:58 +0000 (09:35 +0200)
commitfa96c55b7b0d19a7f72908ee7d3f8a1ef630be96
treeb04c66c0bac11e50aa361e8641ab9c8f736952e5
parentf0b151ce864371da06a4d4a63a2a8b5282817b7e
id128: refuse --app-specific= if we're listing GPT types

Prompted by #33737

The intention of b37e8184a5a376749fbf68674ed6d7a4fc9901aa
is to expose sd_id128_get_app_specific() on command line.
But combining that with GPT type list makes little sense.
src/id128/id128.c