systemctl: replace switch statement by table of structures
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Mar 2019 14:20:26 +0000 (15:20 +0100)
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>
Mon, 2 Nov 2020 14:01:00 +0000 (15:01 +0100)
commit8b34041ee97069bee8bf03ae5ba651b34b1b8460
treeb10166262b487c5d7f085c74bfb68b0ffa433d02
parent7155c010ef8c620295d230c284849636c07b40c0
systemctl: replace switch statement by table of structures

(cherry picked from commit c45e5fb877033c9e3f9b79121644ed71032af379)

Related: #846319
src/systemctl/systemctl.c