Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
blaar
bapps
Commits
bad0e06a
Commit
bad0e06a
authored
Apr 22, 2018
by
Arnaud Blanchard
Browse files
Change option -t in -T to avoid confusion with type selection
parent
6443e9ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
i_fread/i_fread.cpp
View file @
bad0e06a
...
...
@@ -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
();
...
...
o_fwrite/o_fwrite.cpp
View file @
bad0e06a
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment