Commit bad0e06a3ec0422545db23db11230ac27d5a5097
1 parent
6443e9ad
Change option -t in -T to avoid confusion with type selection
Showing
2 changed files
with
2 additions
and
2 deletions
@@ -61,7 +61,7 @@ int main(int argc, char** argv){ | @@ -61,7 +61,7 @@ int main(int argc, char** argv){ | ||
61 | blc_program_add_option(&number_str, 'n', "number", "integer", "Number of records (-1 for infinity)", "-1"); | 61 | blc_program_add_option(&number_str, 'n', "number", "integer", "Number of records (-1 for infinity)", "-1"); |
62 | blc_program_add_option(&channel_name, 'o', "output_channel", "string", "Name of the channel to output the data", default_output); | 62 | blc_program_add_option(&channel_name, 'o', "output_channel", "string", "Name of the channel to output the data", default_output); |
63 | 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); | 63 | 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); |
64 | - blc_program_add_option(&time_str, 't', "time", NULL, "use time in first column (in µs).", NULL); | 64 | + blc_program_add_option(&time_str, 'T', "time", NULL, "use time in first column (in µs).", NULL); |
65 | blc_program_add_parameter(&filename, "filename", 1, "File to load", NULL); | 65 | blc_program_add_parameter(&filename, "filename", 1, "File to load", NULL); |
66 | blc_program_init(&argc, &argv, blc_quit); | 66 | blc_program_init(&argc, &argv, blc_quit); |
67 | blc_command_forward_blc_channels(); | 67 | blc_command_forward_blc_channels(); |
@@ -21,7 +21,7 @@ int main(int argc, char** argv){ | @@ -21,7 +21,7 @@ int main(int argc, char** argv){ | ||
21 | blc_program_add_option(&filename, 'f', "filename", "filename", "Filename of the file to record", NULL); | 21 | blc_program_add_option(&filename, 'f', "filename", "filename", "Filename of the file to record", NULL); |
22 | blc_program_add_option(&number_str, 'n', "number", "integer", "Number of records (-1 for infinity)", "-1"); | 22 | blc_program_add_option(&number_str, 'n', "number", "integer", "Number of records (-1 for infinity)", "-1"); |
23 | blc_program_add_option(&period_str, 'p', "period", "integer", "Period in ms to read line by line", "0"); | 23 | blc_program_add_option(&period_str, 'p', "period", "integer", "Period in ms to read line by line", "0"); |
24 | - blc_program_add_option(&time_str, 't', "time", NULL, "record time in first column (ansolute in µs)", NULL); | 24 | + blc_program_add_option(&time_str, 'T', "time", NULL, "record time in first column (ansolute in µs)", NULL); |
25 | blc_program_add_parameter(&channel_name, "blc_channel-in", 1, "channel to save", NULL); | 25 | blc_program_add_parameter(&channel_name, "blc_channel-in", 1, "channel to save", NULL); |
26 | blc_program_init(&argc, &argv, blc_quit); | 26 | blc_program_init(&argc, &argv, blc_quit); |
27 | blc_command_forward_blc_channels(); | 27 | blc_command_forward_blc_channels(); |
-
Please register or login to post a comment