Use enums for command-line options
authorKirill Isakov <bootctl@gmail.com>
Tue, 26 Apr 2022 13:51:23 +0000 (19:51 +0600)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 26 Apr 2022 17:38:00 +0000 (19:38 +0200)
commite62fd508158749a0d55eae06c2e361df5d6da6e0
treea1958989f614af0a44ce8b14133e9d56275a14db
parent48dd371b2ec69f02870aa5e2a67fc8adb4617ff1
Use enums for command-line options

to avoid repeating options in multiple places, get more descriptive
names, and have the compiler verify the exhaustiveness of reading
options for us.
src/sptps_keypair.c
src/sptps_test.c
src/tincctl.c
src/tincd.c