]> 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, 22 Sep 2025 16:34:41 +0000 (12:34 -0400)
commit73936eda967d3fa0d8a2bb9d5dfb31c506079b6b
tree6455a6b8c9a1661e11d83f01b99b03c367a8b2a1
parentbb82902fd5c4be91852b9c4bc31cee244d07c0b9
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