Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tsn-measures
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
tsn-measures
Commits
02930e7b
Commit
02930e7b
authored
May 26, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace timestamp option by letter t
parent
d2142cdf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
packet-exchange/src/client.c
packet-exchange/src/client.c
+4
-4
No files found.
packet-exchange/src/client.c
View file @
02930e7b
...
...
@@ -147,7 +147,7 @@ int main(int argc, char *argv[]) {
static
void
process_options
(
int
argc
,
char
*
argv
[],
thread_param_t
*
param
,
main_param_t
*
main_param
)
{
for
(;;)
{
int
c
=
getopt
(
argc
,
argv
,
"ae
hf:i:l:p:q:r:
"
);
int
c
=
getopt
(
argc
,
argv
,
"ae
f:i:l:p:q:r:t
"
);
if
(
c
==
-
1
)
break
;
...
...
@@ -158,9 +158,6 @@ static void process_options(int argc, char *argv[], thread_param_t *param,
case
'e'
:
param
->
enable_etf
=
1
;
break
;
case
'h'
:
param
->
enable_timestamps
=
1
;
break
;
case
'f'
:
strcpy
(
param
->
network_if
,
optarg
);
break
;
...
...
@@ -179,6 +176,9 @@ static void process_options(int argc, char *argv[], thread_param_t *param,
case
'r'
:
main_param
->
refresh_rate
=
atoi
(
optarg
);
break
;
case
't'
:
param
->
enable_timestamps
=
1
;
break
;
default:
exit
(
EXIT_FAILURE
);
break
;
...
...
Write
Preview
Markdown
is supported
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