]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/cmdparse: add another template cmd_getval_or helper
authorPatrick Donnelly <pdonnell@ibm.com>
Fri, 21 Mar 2025 16:57:25 +0000 (12:57 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 13 Oct 2025 23:59:33 +0000 (19:59 -0400)
commita309696ae132e7b2fb36b7c89759d54df95a0cfc
tree5345cc38482a3b47b723124945f6dfd2a86a799b
parent2b06def761c66dcf68d8b8db03509c072d1a92cc
common/cmdparse: add another template cmd_getval_or helper

To mimic the conventional signature where you pass the lvalue you want to set.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit ba57b3b5479dc238b4d041a6f82eaf2c38a97ea1)
src/common/cmdparse.h