Commit bad0e06a3ec0422545db23db11230ac27d5a5097

Authored by Arnaud Blanchard
1 parent 6443e9ad

Change option -t in -T to avoid confusion with type selection

... ... @@ -61,7 +61,7 @@ int main(int argc, char** argv){
blc_program_add_option(&number_str, 'n', "number", "integer", "Number of records (-1 for infinity)", "-1");
blc_program_add_option(&channel_name, 'o', "output_channel", "string", "Name of the channel to output the data", default_output);
blc_program_add_option(&period_str, 'p', "period", "integer", "Period in ms to read line by line (default 0 i.e. as fast as possible)", NULL);
blc_program_add_option(&time_str, 't', "time", NULL, "use time in first column (in µs).", NULL);
blc_program_add_option(&time_str, 'T', "time", NULL, "use time in first column (in µs).", NULL);
blc_program_add_parameter(&filename, "filename", 1, "File to load", NULL);
blc_program_init(&argc, &argv, blc_quit);
blc_command_forward_blc_channels();
... ...
... ... @@ -21,7 +21,7 @@ int main(int argc, char** argv){
blc_program_add_option(&filename, 'f', "filename", "filename", "Filename of the file to record", NULL);
blc_program_add_option(&number_str, 'n', "number", "integer", "Number of records (-1 for infinity)", "-1");
blc_program_add_option(&period_str, 'p', "period", "integer", "Period in ms to read line by line", "0");
blc_program_add_option(&time_str, 't', "time", NULL, "record time in first column (ansolute in µs)", NULL);
blc_program_add_option(&time_str, 'T', "time", NULL, "record time in first column (ansolute in µs)", NULL);
blc_program_add_parameter(&channel_name, "blc_channel-in", 1, "channel to save", NULL);
blc_program_init(&argc, &argv, blc_quit);
blc_command_forward_blc_channels();
... ...