OSDN Git Service

update command line interface, and introduce command pattern in Main class
[stigmata/stigmata.git] / src / main / resources / resources / options.properties
index 9203be5..46b7b26 100755 (executable)
@@ -1,9 +1,8 @@
 cli.option.classpath=Append classpath. Separated with comma.
 cli.option.birthmark=Set target birthmarks separated with comma. If this option is not specified, following available birthmarks are specified.
-cli.option.mode=Set running mode. Available values are `gui,' `list,' `extract,' `compare,' and `gui.'  Default is `gui.'
-cli.option.format=Set output report format. Available value is `csv' and `xml.' Default is `csv.'
+cli.option.format=Set output report format. Available value is `csv' and `xml.' Default is `xml.'
 cli.option.filter=Filtering round robin result. This option is ignored when mode is not `compare.'
-cli.option.config-file=Set configuration xml file.  If you do not specified this option and you have `$HOME/.stimgata/birthmarks.xml,' this tool read it.
+cli.option.config-file=Set configuration xml file.  If this option was not specified, Stigmata read config file from `$STIGMATA_HOME/birthmarks.xml.'
 cli.option.reset-config=Reset configuration file.
 cli.option.export-config=Export configuration file to specified file or standard output.
 cli.option.help=Print this message.
@@ -11,7 +10,7 @@ cli.option.license=Print license agreement.
 cli.option.version=Print version information.
 cli.option.extraction-unit=Extract birthmark from EXTRACT_UNIT. Available values are CLASS, PACKAGE, and ARCHIVE.  Default is CLASS
 cli.option.store-target=This option represents how to store extracted birthmarks.  Available values are MEMORY, and XMLFILE.
-cli.interface=java -jar stigmata-%s.jar <OPTIONS> <TARGETS>%nTARGETS is allowed as jar files, war files, class files, and classpath directory.
+cli.interface=java -jar stigmata-%s.jar <OPTIONS> <COMMAND> <TARGETS>%nCOMMAND: available values are `install,' `export-config', `license,' `version,' `list-birthmarks,' `extract,' `compare,' and `gui.' Default is `gui.'%nTARGETS is allowed as jar files, war files, class files, and classpath directory.
 cli.interface.birthmarks=Available birthmarks:
 cli.interface.filters=Available filters:
 cli.interface.copyright=Copyright (C) by Haruaki Tamada, Ph.D. (Kyoto Sangyo University, Japan)