From 870cbb0079bf54044e72dc9ba2a009844d9d1bf7 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 2 Jul 2014 00:17:20 -0700 Subject: [PATCH] create_work program: add --hr_class cmdline argument --- tools/create_work.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/create_work.cpp b/tools/create_work.cpp index bf8ec8ec1d..c1697dc940 100644 --- a/tools/create_work.cpp +++ b/tools/create_work.cpp @@ -56,6 +56,7 @@ void usage() { " [ --config_dir path ]\n" " [ -d n ]\n" " [ --delay_bound x ]\n" + " [ --hr_class n ]\n" " [ --max_error_results n ]\n" " [ --max_success_results n ]\n" " [ --max_total_results n ]\n" @@ -217,6 +218,8 @@ int main(int argc, char** argv) { jd.wu.rsc_disk_bound = atof(argv[++i]); } else if (arg(argv, i, "delay_bound")) { jd.wu.delay_bound = atoi(argv[++i]); + } else if (arg(argv, i, "hr_class")) { + jd.wu.hr_class = atoi(argv[++i]); } else if (arg(argv, i, "min_quorum")) { jd.wu.min_quorum = atoi(argv[++i]); } else if (arg(argv, i, "target_nresults")) {