]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-cli: Macro'ify argument defines
authorKeith Busch <kbusch@kernel.org>
Thu, 29 Aug 2019 19:38:14 +0000 (13:38 -0600)
committerKeith Busch <kbusch@kernel.org>
Thu, 29 Aug 2019 19:38:14 +0000 (13:38 -0600)
commit35dc6f2f7b74e6956a1c16b690695cc03e8f9b96
treeba4dbeaebcb50780527d7a8865d14aa2916b40ee
parenta3b3e93286a30852b7973a524b47ef35d42aa6cf
nvme-cli: Macro'ify argument defines

Defining arguments by field type is too repetive and creates excessively
long lines. Simplify this with some macros that handle the more tedious
parts.

Signed-off-by: Keith Busch <kbusch@kernel.org>
nvme.c
util/argconfig.h