]> git-server-git.apps.pok.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, 5 Jan 2026 21:23:30 +0000 (16:23 -0500)
commit5cd487116e2595b52a9e7890599230f8cc3239dc
treeedc5e26f9d2e955b988f75123c4e822a6f9c457f
parent092e3d500afb4805ca50b0db065d0b792f626e1b
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