Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
a6a32f26
Commit
a6a32f26
authored
Mar 02, 2016
by
Davide Ciminaghi
Committed by
Alessandro Rubini
Apr 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdline: remove obsolete -O option
Signed-off-by:
Davide Ciminaghi
<
ciminaghi@gnudd.com
>
parent
67b8a0f1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
cmdline.c
lib/cmdline.c
+0
-10
No files found.
lib/cmdline.c
View file @
a6a32f26
...
...
@@ -28,7 +28,6 @@ static struct cmd_line_opt cmd_line_list[] = {
{
"-d STRING"
,
"diagnostic level (see diag-macros.h)"
},
CMD_LINE_SEPARATOR
,
{
"-x"
,
"do not reset the clock if off by more than one second"
},
{
"-O NUMBER"
,
"do not reset the clock if offset is more than NUMBER nanoseconds"
},
{
"-M NUMBER"
,
"do not accept delay values of more than NUMBER nanoseconds"
},
{
"-t"
,
"do not adjust the system clock"
},
{
"-a NUMBER,NUMBER"
,
"specify clock servo P and I values (min == 1)"
},
...
...
@@ -122,15 +121,6 @@ int pp_parse_cmdline(struct pp_globals *ppg, int argc, char **argv)
case
'x'
:
GOPTS
(
ppg
)
->
flags
|=
PP_FLAG_NO_RESET
;
break
;
case
'O'
:
a
=
argv
[
++
i
];
GOPTS
(
ppg
)
->
max_rst
=
atoi
(
a
);
if
(
GOPTS
(
ppg
)
->
max_rst
>
PP_NSEC_PER_SEC
)
{
pp_printf
(
"Use -x to prevent jumps of"
" more than one second
\n
"
);
return
-
1
;
}
break
;
case
'M'
:
a
=
argv
[
++
i
];
GOPTS
(
ppg
)
->
max_dly
=
atoi
(
a
);
...
...
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