// copyright (c) 1989,2021 Roberto Ceccarelli - Casasoft // http://strawberryfield.altervista.org // // This file is part of Casasoft Turmiti // https://github.com/strawberryfield/Tur-miti // // Casasoft Turmiti is free software: // you can redistribute it and/or modify it // under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Casasoft Turmiti is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // See the GNU General Public License for more details. // // You should have received a copy of the GNU AGPL v.3 // along with Casasoft Turmiti. // If not, see <http://www.gnu.org/licenses/>.
OptionSet Options =new OptionSet { {"sphere", "map the world over a sphere (default torus)", o => OnSphere = o !=null}, {"help", "prints this message and exit", o => ShouldShowHelp = o !=null}, };
try {
FilesList = Options.Parse(args); } catch(OptionException e) {
ShowMessage($"{ExeName}: {e.Message}\nTry '{ExeName} --help' for more informations."); return1; }