+4
−13
+2
−12
Loading
This change aims to help with maitanance by reducing the code duplication. It should also help with the code readability as usage opts are self explanatory. It should eventually help with having correct description for new apps. Far almost all in-tree spdk apps there were issues (see prev commit). It proves that current copy/paste/adjust solution doesn't work well. There is higher chance developer will make it right upfront or reviewer will spot the inconsistency easier. By having correct app args description end user experiance should be better. Change-Id: I0a763672d5cecdc29946154a61c9a168853347ce Signed-off-by:Jacek Kalwas <jacek.kalwas@nutanix.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/25858 Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Konrad Sztyber <ksztyber@nvidia.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Ankit Kumar <ankit.kumar@samsung.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Community-CI: Mellanox Build Bot