@@ -60,7 +60,7 @@ namespace
60
60
" ATTRIBUTES"
61
61
},
62
62
{ " expand" , " expand" , ' e' , false ,
63
- " Expand context records and print the selected attributes (default: all) " ,
63
+ " Print records as comma-separated key=value lists " ,
64
64
nullptr
65
65
},
66
66
{ " attributes" , " print-attributes" , 0 , true ,
@@ -80,7 +80,7 @@ namespace
80
80
" STRING"
81
81
},
82
82
{ " table" , " table" , ' t' , false ,
83
- " Print attributes in human-readable table form" ,
83
+ " Print records in human-readable table form" ,
84
84
nullptr
85
85
},
86
86
{ " tree" , " tree" , ' T' , false ,
@@ -111,20 +111,16 @@ namespace
111
111
" Set Caliper configuration for profiling cali-query" ,
112
112
" CALIPER-CONFIG"
113
113
},
114
- { " caliper-config-vars" , " caliper-config-vars" , 0 , true ,
115
- " Caliper configuration flags (for cali-query profiling)" ,
116
- " KEY=VALUE,..."
117
- },
118
114
{ " verbose" , " verbose" , ' v' , false , " Be verbose." , nullptr },
119
115
{ " version" , " version" , ' V' , false , " Print version number" , nullptr },
120
116
{ " output" , " output" , ' o' , true , " Set the output file name" , " FILE" },
121
117
{ " help" , " help" , ' h' , true , " Print help message" , nullptr },
122
118
{ " list-attributes" , " list-attributes" , 0 , false ,
123
- " Extract and list attributes in Caliper stream instead of snapshot records " ,
119
+ " List attribute info. Use with -j, -t, etc. to select output format. " ,
124
120
nullptr
125
121
},
126
122
{ " list-globals" , " list-globals" , ' G' , false ,
127
- " Extract and list global per-run attributes " ,
123
+ " List global run metadata. Use with -j, -t, etc. to select output format. " ,
128
124
nullptr
129
125
},
130
126
Args::Table::Terminator
@@ -203,21 +199,6 @@ void setup_caliper_config(const Args& args)
203
199
204
200
if (args.is_set (" verbose" ))
205
201
cali_config_preset (" CALI_LOG_VERBOSITY" , " 1" );
206
-
207
- std::vector<std::string> config_list =
208
- StringConverter (args.get (" caliper-config-vars" )).to_stringlist ();
209
-
210
- for (const std::string entry : config_list) {
211
- auto p = entry.find (' =' );
212
-
213
- if (p == std::string::npos) {
214
- std::cerr << " cali-query: error: invalid Caliper configuration flag format \" "
215
- << entry << " \" (missing \" =\" )" << std::endl;
216
- continue ;
217
- }
218
-
219
- cali_config_set (entry.substr (0 , p).c_str (), entry.substr (p+1 ).c_str ());
220
- }
221
202
}
222
203
223
204
//
0 commit comments