public List getOptions()

in src/com/intellij/vssSupport/UndocheckoutOptions.java [74:100]


  public List<String> getOptions( VirtualFile file )
  {
    ArrayList<String> options = new ArrayList<>();
    options.add( UNDOCHECKOUT_COMMAND );
    options.add( VssUtil.getVssPath( file, myConfig.getProject() ));

    options.add( (REPLACE_LOCAL_COPY == OPTION_ASK) ? _I_N_OPTION : _I_Y_OPTION );
    if( REPLACE_LOCAL_COPY == OPTION_LEAVE )
      options.add( _G_OPTION );

    if( file.isDirectory() )
    {
      //  If "Recursive" option is not set this does not mean that we should
      //  simply omit it. If the "Act on projects recursively" option is set
      //  in the SS Explorer, then all commands to the [sub]projects are
      //  applied in the recursive manner by default.
      options.add( RECURSIVE ? _R_OPTION : _R_NOT_OPTION );
    }

    if( MAKE_WRITABLE )
      options.add( _W_OPTION );

    if( myConfig.USER_NAME.length() > 0 )
      options.add( myConfig.getYOption() );

    return options;
  }