forked from mono/mono
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmonodocer
executable file
·64 lines (62 loc) · 1.07 KB
/
monodocer
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/sh
cmd_line=
for option do
case "$option" in
-assembly:*)
a=`echo "$option" | sed 's/^-assembly://'`
cmd_line="$cmd_line $a"
;;
-delete)
cmd_line="$cmd_line --delete"
;;
-ignoremembers)
# ignore
;;
-import:*)
a=`echo "$option" | sed 's/^-import://'`
cmd_line="$cmd_line -i $a"
;;
-importecmadoc:*)
a=`echo "$option" | sed 's/^-importecmadoc://'`
cmd_line="$cmd_line -i $a"
;;
-importslashdoc:*)
a=`echo "$option" | sed 's/^-importslashdoc://'`
cmd_line="$cmd_line -i $a"
;;
-name:*)
# ignore
;;
-namespace:*)
# ignore
;;
-overrides:*)
# ignore
;;
-path:*)
a=`echo "$option" | sed 's/^-path://'`
cmd_line="$cmd_line -o $a"
;;
-pretty)
# ignore
;;
-since:*)
a=`echo "$option" | sed 's/^-since://'`
cmd_line="$cmd_line --since $a"
;;
-type:*)
a=`echo "$option" | sed 's/^-type://'`
cmd_line="$cmd_line --since $a"
;;
-updateto:*)
# ignore
;;
-V | -version)
# ignore
;;
*)
cmd_line="$cmd_line $option"
;;
esac
done
exec mdoc update $cmd_line