OSDN Git Service

enables to restore to default settings
[stigmata/stigmata.git] / src / main / resources / resources / options.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <command-line name="stigmata">
4   <definitions>
5     <definition name="classpath">
6       <short-option>c</short-option>
7       <long-option>classpath</long-option>
8       <description>Append classpath. Separated with comma.</description>
9       <argument>REQUIRED</argument>
10       <argument-name>CLASSPATH</argument-name>
11       <value-separator>,</value-separator>
12       <multiple-args />
13     </definition>
14
15     <definition name="birthmark">
16       <short-option>b</short-option>
17       <long-option>birthmark</long-option>
18       <description>
19         Set target birthmarks separated with comma. If this option is
20         not specified, following available birthmarks are specified.
21       </description>
22       <argument>REQUIRED</argument>
23       <argument-name>BIRTHMARKS</argument-name>
24       <value-separator>,</value-separator>
25       <multiple-args />
26     </definition>
27
28     <definition name="mode">
29       <short-option>m</short-option>
30       <long-option>mode</long-option>
31       <description>Set running mode. Available values are `gui,' `list,' `extract,' `compare,' and `gui.'  Default is `gui.'</description>
32       <argument>REQUIRED</argument>
33       <argument-name>MODE</argument-name>
34     </definition>
35
36     <definition name="format">
37       <short-option>f</short-option>
38       <long-option>format</long-option>
39       <description>Set output report format. Available value is `csv' and `xml.' Default is `csv.'</description>
40       <argument>REQUIRED</argument>
41       <argument-name>FORMAT</argument-name>
42     </definition>
43
44     <definition name="filter">
45       <short-option>F</short-option>
46       <long-option>filter</long-option>
47       <description>Filtering round robin result. This option is ignored when mode is not `compare.'</description>
48       <argument>REQUIRED</argument>
49       <argument-name>FILTER_NAME</argument-name>
50     </definition>
51
52     <definition name="config-file">
53       <long-option>config-file</long-option>
54       <description>
55         Set configuration xml file.  If you do not specified this option and you have 
56         `.birthmarks.xml' on your home directory, or `birthmark.xml' on current directory, 
57         this tool read it.
58       </description>
59       <argument>REQUIRED</argument>
60       <argument-name>CONFIG-FILE</argument-name>
61     </definition>
62
63     <definition name="reset-config">
64       <long-option>reset-config</long-option>
65       <description>Reset config file.</description>
66       <argument>NONE</argument>
67     </definition>
68
69     <definition name="export-config">
70       <long-option>export-config</long-option>
71       <description>export configuration file to specified file or standard output.</description>
72       <argument>OPTIONAL</argument>
73       <argument-name>FILE</argument-name>
74     </definition>
75
76     <definition name="help">
77       <short-option>h</short-option>
78       <long-option>help</long-option>
79       <description>print this message</description>
80       <argument>NONE</argument>
81     </definition>
82
83     <definition name="license">
84       <short-option>l</short-option>
85       <long-option>license</long-option>
86       <description>print license</description>
87       <argument>NONE</argument>
88     </definition>
89
90     <definition name="version">
91       <short-option>v</short-option>
92       <long-option>version</long-option>
93       <description>print version</description>
94       <argument>NONE</argument>
95     </definition>
96
97     <definition name="extraction-unit">
98       <short-option>e</short-option>
99       <long-option>extraction-unit</long-option>
100       <argument>REQUIRED</argument>
101       <argument-name>EXTRACT_UNIT</argument-name>
102       <description>extract birthmark from EXTRACT_UNIT. Available values are CLASS, PACKAGE, and ARCHIVE.  Default is CLASS</description>
103     </definition>
104
105     <definition name="store-target">
106       <long-option>store-target</long-option>
107       <argument>REQUIRED</argument>
108       <argument-name>STORE_TARGET</argument-name>
109       <description>This option represents how to store extracted birthmarks.  Available value is only MEMORY.</description>
110     </definition>
111   </definitions>
112
113   <available-options>
114     <option>classpath</option>
115     <option>birthmark</option>
116     <option>format</option>
117     <option>filter</option>
118     <option>mode</option>
119     <option>config-file</option>
120     <option>help</option>
121     <option>license</option>
122     <option>version</option>
123     <option>export-config</option>
124     <option>extraction-unit</option>
125     <option>store-target</option>
126     <option>reset-config</option>
127   </available-options>
128 </command-line>