Commit bad0e06a authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

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

parent 6443e9ad
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment