code: public void doGenerateExampleQueries(String args)
    {
      Boolean del = false;
      if (args != null && "overwrite".equals(args))
      {
        del = true;
      }
  
      if (corpusList != null)
      {
        for (Long corpusId : corpusList)
        {
          System.out.println("generate example queries " + corpusId);
          queriesGenerator.generateQueries(corpusId, del);
        }
      }
    }
docs: Enables the auto generating of example queries for the annis shell.
  
  @param args If args is not set the new example queries are added to the old
  ones. Supported value is <code>overwrite</code>, wich generates new example
  queries and delete the old ones.