[Title] Added script's comments and fixed bug
authorgyeongseok.seo <gyeongseok.seo@samsung.com>
Fri, 27 Jul 2012 10:44:01 +0000 (19:44 +0900)
committergyeongseok.seo <gyeongseok.seo@samsung.com>
Fri, 27 Jul 2012 10:44:01 +0000 (19:44 +0900)
[Type] Bugfix
[Module]
[Priority] Minor
[Jira#]
[Redmine#] 5831
[Problem]
[Cause]
[Solution]
[TestCase] run DOS shell

Change-Id: I1d0456ab8d5785252f5b594741da037f340746f1

org.tizen.cli/doc/install/bin_/webtizen.bat

index 522e024..cfe2236 100644 (file)
@@ -27,23 +27,30 @@ set READ_ARG=n
 
 
 REM script execute
+REM check argment
 call:_check_zero_option %*
 IF %ISEXIT% == true goto EXIT_STEP
+
+REM command check and select
 call:_select_option %*
 IF %ISEXIT% == true goto EXIT_STEP
+
+REM command's argument create
 call:ARG_SHIFT %*
-call:_run_command %CMDLINE%
 
+REM running command
+call:_run_command %CMDLINE%
 
+REM method call end
 :END_STEP
 goto:eof
 
 REM print usages method
 :_print_usage
-    echo. Usage: $SCRIPT [option] command [options]
-    echo. Usage: $SCRIPT [option] short-command [options]
+    echo. Usage: %SCRIPT% [option] command [options]
+    echo. Usage: %SCRIPT% [option] short-command [options]
     echo. 
-    echo. $SCRIPT is a simple command line interface for Tizen widget.
+    echo. %SCRIPT% is a simple command line interface for Tizen widget.
     echo. The most frequently used commands are run and debug.
     echo. 
     echo. Commands: