[tests] Test loading references from LoadFrom and LoadFile contexts
[mono-project.git] / scripts / monodocer
blobefce7c367aa9cde0ea2673ff5509d26d9906c83c
1 #!/bin/sh
2 cmd_line=
4 for option do
5 case "$option" in
6 -assembly:*)
7 a=`echo "$option" | sed 's/^-assembly://'`
8 cmd_line="$cmd_line $a"
9 ;;
10 -delete)
11 cmd_line="$cmd_line --delete"
13 -ignoremembers)
14 # ignore
16 -import:*)
17 a=`echo "$option" | sed 's/^-import://'`
18 cmd_line="$cmd_line -i $a"
20 -importecmadoc:*)
21 a=`echo "$option" | sed 's/^-importecmadoc://'`
22 cmd_line="$cmd_line -i $a"
24 -importslashdoc:*)
25 a=`echo "$option" | sed 's/^-importslashdoc://'`
26 cmd_line="$cmd_line -i $a"
28 -name:*)
29 # ignore
31 -namespace:*)
32 # ignore
34 -overrides:*)
35 # ignore
37 -path:*)
38 a=`echo "$option" | sed 's/^-path://'`
39 cmd_line="$cmd_line -o $a"
41 -pretty)
42 # ignore
44 -since:*)
45 a=`echo "$option" | sed 's/^-since://'`
46 cmd_line="$cmd_line --since $a"
48 -type:*)
49 a=`echo "$option" | sed 's/^-type://'`
50 cmd_line="$cmd_line --since $a"
52 -updateto:*)
53 # ignore
55 -V | -version)
56 # ignore
59 cmd_line="$cmd_line $option"
61 esac
62 done
64 exec mdoc update $cmd_line