repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-07-20 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tools
/
mod
/
mod.cs
blob
9637170476b453e1b1fe9789778035c04db81eb5
1
// Author: John Luke <jluke@cfl.rr.com>
2
3
using
System
;
4
using
Monodoc
;
5
6
namespace
Monodoc
7
{
8
public class
Mod
9
{
10
static void
Main
(
string
[]
args
)
11
{
12
if
(
args
.
Length
!=
1
)
13
{
14
Console
.
WriteLine
(
"Usage: mod.exe Url"
);
15
return
;
16
}
17
18
RootTree help_tree
=
RootTree
.
LoadTree
();
19
Node n
;
20
Console
.
WriteLine
(
help_tree
.
RenderUrl
(
args
[
0
],
out
n
));
21
}
22
}
23
}