Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
cc73bd65
Commit
cc73bd65
authored
Apr 05, 2019
by
Uwe Schulzweida
Browse files
app/cdi: added option -n.
parent
3603887a
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/cdi.c
View file @
cc73bd65
...
...
@@ -746,6 +746,7 @@ int main(int argc, char *argv[])
int
varID
;
int
itableID
=
CDI_UNDEFID
,
otableID
=
CDI_UNDEFID
;
int
Info
=
1
;
int
NoInfo
=
0
;
char
varname
[
CDI_MAX_NAME
];
char
paramstr
[
32
];
...
...
@@ -753,7 +754,7 @@ int main(int argc, char *argv[])
if
(
Progname
==
0
)
Progname
=
argv
[
0
];
else
Progname
++
;
while
(
(
c
=
getopt
(
argc
,
argv
,
"b:f:t:w:z:cdhlMmqRrsvVxZ"
))
!=
EOF
)
while
(
(
c
=
getopt
(
argc
,
argv
,
"b:f:t:w:z:cdhlMm
n
qRrsvVxZ"
))
!=
EOF
)
{
switch
(
c
)
{
...
...
@@ -778,6 +779,10 @@ int main(int argc, char *argv[])
case
'm'
:
Move
=
1
;
break
;
case
'n'
:
Info
=
0
;
NoInfo
=
1
;
break
;
case
'q'
:
/* Quiet = 1; */
break
;
...
...
@@ -925,7 +930,7 @@ int main(int argc, char *argv[])
size_t
idum
;
int
tsID
=
0
;
if
(
Info
||
fname2
)
if
(
Info
||
fname2
||
NoInfo
)
while
(
(
nrecs
=
streamInqTimestep
(
streamID1
,
tsID
))
>
0
)
{
if
(
fname2
/* && ntsteps != 0*/
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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