From: kh5325.kim Date: Sat, 6 Apr 2013 05:07:29 +0000 (+0900) Subject: Refined messages X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c646dda5ad115d5ff466fc52335c9f91f043bab6;p=sdk%2Ftools%2Fcli.git Refined messages --- diff --git a/org.tizen.cli/doc/install/bin_/webtizen b/org.tizen.cli/doc/install/bin_/webtizen index 86f3f92..d07b56c 100755 --- a/org.tizen.cli/doc/install/bin_/webtizen +++ b/org.tizen.cli/doc/install/bin_/webtizen @@ -13,14 +13,14 @@ _print_usage() echo "The most frequently used commands are run and debug." echo "" echo "Commands:" - echo " gen: Generation widget project" - echo " packaging: Packaging widget project" - echo " signing: Signing widget project" - echo " list: Display installed widgets handle and name list" - echo " install: Install widget package for target" - echo " uninstall: Uninstall widget package for target" - echo " run: Install wdiget package for target And Launch widget" - echo " debug: Install wdiget package for target And Launch widget And activate debug mode" + echo " gen: Generate a widget project" + echo " packaging: Make a package(*.wgt) for the project" + echo " signing: Sign a widget project" + echo " list: Display installed widgets in target" + echo " install: Install widget package to target" + echo " uninstall: Uninstall widget package in target" + echo " run: Install a widget package to target and launch it" + echo " debug: Install a widget package to target and launch it in debug mode" echo "" echo "Short Commands:" echo " -g: gen command" @@ -32,8 +32,8 @@ _print_usage() echo " -r: run command" echo " -d: debug command" echo "" - echo "Option" - echo " -h: Display this usage information." + echo "Options:" + echo " -h: Display this usage information" exit $1 diff --git a/org.tizen.cli/doc/install/bin_/webtizen.bat b/org.tizen.cli/doc/install/bin_/webtizen.bat index ea95d56..40833c5 100644 --- a/org.tizen.cli/doc/install/bin_/webtizen.bat +++ b/org.tizen.cli/doc/install/bin_/webtizen.bat @@ -54,14 +54,14 @@ REM print usages method echo. The most frequently used commands are run and debug. echo. echo. Commands: - echo. gen: Generation widget project - echo. packaging: Packaging widget project - echo. signing: Signing widget project - echo. list: Display installed widgets handle and name list - echo. install: Install widget package for target - echo. uninstall: Uninstall widget package for target - echo. run: Install wdiget package for target And Launch widget - echo. debug: Install wdiget package for target And Launch widget And activate debug mode + echo. gen: Generate a widget project + echo. packaging: Make a package(*.wgt) for the project + echo. signing: Sign a widget project + echo. list: Display installed widgets in target + echo. install: Install widget package to target + echo. uninstall: Uninstall widget package in target + echo. run: Install a widget package to target and launch it + echo. debug: Install a widget package to target and launch it in debug mode echo. echo. Short Commands: echo. -g: gen command @@ -73,8 +73,8 @@ REM print usages method echo. -r: run command echo. -d: debug command echo. - echo. Option - echo. -h: Display this usage information. + echo. Options: + echo. -h: Display this usage information set ISEXIT=true goto:END_STEP diff --git a/org.tizen.cli/src/org/tizen/cli/exec/TargetDeviceSelector.java b/org.tizen.cli/src/org/tizen/cli/exec/TargetDeviceSelector.java index 864d39c..d8e45a9 100755 --- a/org.tizen.cli/src/org/tizen/cli/exec/TargetDeviceSelector.java +++ b/org.tizen.cli/src/org/tizen/cli/exec/TargetDeviceSelector.java @@ -147,7 +147,7 @@ TargetDeviceSelector if ( devices.length == 1 ) { selectDevice = ArrayUtil.pickupFirst( devices ); - String msg = MessageFormat.format( "Selected Device is: {0}( {1} )" , selectDevice.toString(), selectDevice.getDeviceName() ); + String msg = MessageFormat.format( "Selected device: {0} ({1})" , selectDevice.toString(), selectDevice.getDeviceName() ); prompter.notify( msg ); } else if ( devices.length > 1 ) { ChoiceOption yes = new ChoiceOption( "Yes" );