Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
111
Issues
111
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
cd3a9ba4
Commit
cd3a9ba4
authored
Jun 08, 2010
by
Leigh Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit Tarun's argument processing fixes.
parent
8f8b8b94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
assign/assign.cc
assign/assign.cc
+13
-6
No files found.
assign/assign.cc
View file @
cd3a9ba4
...
...
@@ -442,17 +442,17 @@ void print_help() {
<<
endl
;
cout
<<
" -u - Print a summary of the solution."
<<
endl
;
cout
<<
" -c <float> - Use the 'connected' pnode finding algorithm "
;
cout
<<
"<float>*100%"
<<
endl
;
cout
<<
" of the time."
<<
endl
;
cout
<<
"<float>*100%"
<<
endl
;
cout
<<
" of the time."
<<
endl
;
cout
<<
" -n - Don't anneal - just do the prechecks."
<<
endl
;
cout
<<
" -x <file> - Specify a text ptop file"
<<
endl
;
cout
<<
" -y <file> - Specify a text top file"
<<
endl
;
#ifdef WITH_XML
cout
<<
" -W <file> - Specify the output rspec file"
<<
endl
;
cout
<<
" -f <T>[/<T>] - Specify the ptop/vtop file formats "
<<
endl
;
cout
<<
" T should be one of (text|xml|rspec-<rspec ver. number>)"
<<
endl
;
;
cout
<<
" Specifying only one T is equivalent to -f T/T"
<<
endl
;
cout
<<
" -f <T>[/<T>] - Specify the ptop/vtop file formats "
<<
endl
;
cout
<<
" T should be one of (text|xml|rspec)"
<<
endl
;
cout
<<
" Specifying only one T is equivalent to -f T/T"
<<
endl
;
#endif
cout
<<
" -F - Apply additional checking to fixed nodes"
<<
endl
;
cout
<<
" -D - Dump configuration options"
<<
endl
;
...
...
@@ -946,6 +946,14 @@ int main(int argc,char **argv) {
break
;
#ifdef WITH_XML
case
'W'
:
if
(
strcmp
(
optarg
,
""
)
==
0
)
{
print_help
();
}
vtopOutputFilename
=
optarg
;
break
;
case
'f'
:
if
(
strcmp
(
optarg
,
""
)
==
0
)
{
print_help
();
...
...
@@ -1253,4 +1261,3 @@ int main(int argc,char **argv) {
exit
(
EXIT_SUCCESS
);
}
}
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