提交 bba615f8 编写于 作者: qq_43633081's avatar qq_43633081 提交者: LINGuanRen

fix using dump_backup with -q in ob_admin causing error

上级 f398a1e6
......@@ -637,7 +637,7 @@ int ObAdminDumpBackupDataExecutor::parse_cmd(int argc, char *argv[])
int ret = OB_SUCCESS;
int opt = 0;
const char* opt_string = "hd:s:o:l:f:q:c";
const char* opt_string = "hd:s:o:l:f:qc";
struct option longopts[] = {
// commands
......@@ -1652,7 +1652,7 @@ void ObAdminDumpBackupDataExecutor::print_usage()
printf("\tob_admin dump_backup -f/home/admin/macro_block_1.0 -o1024 -l2048\n");
#ifdef _WITH_OSS
printf(" dump data with -s: \n");
printf("\tob_admin dump_backup -d'oss://home/admin/backup_info' -s'host=http://oss-cn-hangzhou-zmf.aliyuncs.com&access_id=111&access_key=222'\n");
printf("\tob_admin dump_backup -d'oss://home/admin/backup_info' -s'host=url&access_id=111&access_key=222'\n");
#endif
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册