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)
committerLuca Boccassi <bluca@debian.org>
Mon, 22 Jul 2024 10:05:08 +0000 (11:05 +0100)
commit86ec58a55c62e974a4f0cc345fac3fd84817399f
tree7b96558503a17503b6d56766b5885b897f1b6d1d
parentb60d5bc1b774f900dc5c5d45faed17e919bdf0b3
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.

(cherry picked from commit fa96c55b7b0d19a7f72908ee7d3f8a1ef630be96)
src/id128/id128.c