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
Oleksii Turkot
CrystFEL
Commits
9c67613d
Commit
9c67613d
authored
Jul 16, 2010
by
Thomas White
Browse files
compare_hkl: Add symmetry option (not implemented yet)
parent
af0c25e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/compare_hkl.c
View file @
9c67613d
...
...
@@ -35,6 +35,7 @@ static void show_help(const char *s)
"
\n
"
" -h, --help Display this help message.
\n
"
" -o, --output=<filename> Specify output filename for correction factor.
\n
"
" -y, --symmetry=<sym> The symmetry of both the input files.
\n
"
"
\n
"
);
}
...
...
@@ -57,6 +58,7 @@ int main(int argc, char *argv[])
const
struct
option
longopts
[]
=
{
{
"help"
,
0
,
NULL
,
'h'
},
{
"output"
,
1
,
NULL
,
'o'
},
{
"symmetry"
,
1
,
NULL
,
'y'
},
{
0
,
0
,
NULL
,
0
}
};
...
...
@@ -72,6 +74,10 @@ int main(int argc, char *argv[])
outfile
=
strdup
(
optarg
);
break
;
case
'y'
:
sym
=
strdup
(
optarg
);
break
;
case
0
:
break
;
...
...
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