MISC: Modified message of usage about web-uninstall. 32/12532/1
authorTaeyoung Son <taeyoung2.son@samsung.com>
Mon, 18 Nov 2013 10:24:32 +0000 (19:24 +0900)
committerTaeyoung Son <taeyoung2.son@samsung.com>
Mon, 18 Nov 2013 10:24:32 +0000 (19:24 +0900)
Modified id option's description

Change-Id: I906bf3f2274bc8dd7e3c6706507bec7cc7b7003c
Signed-off-by: Taeyoung Son <taeyoung2.son@samsung.com>
org.tizen.cli/src/org/tizen/cli/exec/uninstall/Main.java

index 36cb4c1..71ab6c9 100644 (file)
 */
 package org.tizen.cli.exec.uninstall;
 
-import java.text.MessageFormat;
-
 import static org.tizen.cli.exec.LaunchOptionConstants.DESC_FAILED_CANNOT_FIND_CONNECTED_DEVICE;
 import static org.tizen.cli.exec.LaunchOptionConstants.DESC_FAILED_CANNOT_FIND_SELECTED_DEVICE;
 import static org.tizen.cli.exec.LaunchOptionConstants.OPT_WIDGETID;
 
+import java.text.MessageFormat;
+
 import org.apache.commons.cli.CommandLine;
 import org.apache.commons.cli.OptionBuilder;
 import org.apache.commons.cli.Options;
 import org.tizen.cli.exec.Help;
-import org.tizen.cli.exec.LaunchOptionConstants;
 import org.tizen.cli.exec.WRTLauncher;
 import org.tizen.common.core.command.Executor;
 import org.tizen.common.core.command.Prompter;
@@ -58,14 +57,14 @@ extends WRTLauncher
 
     /**
      * <p>
-     * Description for target widget id
+     * Descriptions for package id.
      * 
-     * This is printed out in usage
+     * It is printed out in usage
      * </p>
      * 
-     * @see #OPT_WIDGETID
      */
-    protected static final String DESC_WIDGETID = LaunchOptionConstants.DESC_WIDGETID;
+    protected static final String DESC_PACKAGE_ID = "Package id. " +
+                                                    "you can find the package id using \"web-list\" command.\n";
 
     /**
      * Entry point for cli main
@@ -148,7 +147,7 @@ extends WRTLauncher
     getOptions()
     {
         final Options opts = super.getOptions();
-        opts.addOption( OptionBuilder.hasArg().isRequired().withLongOpt( OPT_WIDGETID ).withDescription( DESC_WIDGETID ).create( OPT_WIDGETID.substring( 0, 1 ) ) );
+        opts.addOption( OptionBuilder.hasArg().isRequired().withLongOpt( OPT_WIDGETID ).withDescription( DESC_PACKAGE_ID ).create( OPT_WIDGETID.substring( 0, 1 ) ) );
 
         return opts;
     }