]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/bench_log: add usage function 31723/head
authorchenxuqiang <chenxuqiang3@hisilicon.com>
Tue, 19 Nov 2019 14:04:12 +0000 (22:04 +0800)
committerluo rixin <luorixin@huawei.com>
Wed, 20 Nov 2019 03:05:37 +0000 (11:05 +0800)
commit51ca9190974979949f040c766efb2ada377c395b
treea90004073807f285549216a91cf39c119ce5ec90
parent8819c3c37a543be390893a4eee1aa792ff0f7f3c
test/bench_log: add usage function
Currently, the bench_log does not have a usage function, so that when it is used, if no pararmeters are given, a segmentation error will occur. This causes confusion.

Now, we add the usage function and add (argc < 3) conditional judgment.

Signed-off-by: Xuqiang Chen <chenxuqiang3@hisilicon.com>
src/test/bench_log.cc