code: protected void handleExtraOptions() {
          // Create the weighting function.  If one is specified by the command
          // line, create a new instance of it, otherwise default to
          // LinearWeighting.
          if (argOptions.hasOption('G'))
              weighting = ReflectionUtil.getObjectInstance(
                      argOptions.getStringOption('G'));
          else 
              weighting = new LinearWeighting();
  
          // If the -L option is given, load the basis mapping from disk.
          if (argOptions.hasOption('L')) {
              basis = loadObject(openLoadFile());
              basis.setReadOnly(true);
          }
          else 
              basis = new StringBasisMapping();
      }
docs: {@inheritDoc}