]> 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>
Wed, 1 Oct 2025 18:46:56 +0000 (14:46 -0400)
commit0ec9c6f523bab9917d9f6c6f3076e8423f375a33
tree90d3721df845ff656683778d5a0682c8a6ba82bd
parenta4f1a745beb56249044fdb270622a03189ac8cba
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>
src/common/cmdparse.h