import static org.tizen.cli.exec.LaunchOptionConstants.DESC_OVERWRITE;
import org.tizen.cli.exec.AbstractLauncher;
-import org.tizen.cli.exec.LaunchOptionConstants;
import org.tizen.common.core.command.Executor;
import org.tizen.common.core.command.Prompter;
import org.tizen.common.core.command.prompter.ChoiceOption;
else if ( !isValidRoot( baseDir ) )
{
logger.trace( "Base directory is not valid root" );
- final ChoiceOption yes = new ChoiceOption( "Yes" );
- final ChoiceOption no = new ChoiceOption( "No", true );
+ final ChoiceOption yes = new ChoiceOption( "Yes", true );
+ final ChoiceOption no = new ChoiceOption( "No" );
final Prompter prompter = getPrompter();
-
+
final Option option = prompter.interact(
- MessageFormat.format( "''.projet'' file doesn't exist in ''{0}''\nDo you want to be continue?", baseDir ),
+ MessageFormat.format( "''.projet'' file doesn''t exist in ''{0}''\nDo you want to continue? [YES, no]", baseDir ),
yes,
no
);