Mercurial > octave
view src/octave-build-info.in.cc @ 29898:dffd1c943f1a stable
main.cc: Use getopt to parse command line arguments (bug #60886).
* src/main.in.cc (main): Use getopt to parse command line arguments.
* libinterp/options-usage.h: Split into options.h and usage.h.
* libinterp/options.h (octave_getopt_options long_opts): Add command line
options "force-gui" and "no-gui-libs" to struct.
(grafted from bc19d9360bace492accb86414badda5ab9ba8cde)
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 18 Jul 2021 15:54:48 +0200 |
parents | 0a5b15007766 |
children | 796f54d4ddbf |
line wrap: on
line source
// %NO_EDIT_WARNING% //////////////////////////////////////////////////////////////////////// // // Copyright (C) 2016-2021 The Octave Project Developers // // See the file COPYRIGHT.md in the top-level directory of this // distribution or <https://octave.org/copyright/>. // // This file is part of Octave. // // Octave is free software: you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Octave 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 General Public License // along with Octave; see the file COPYING. If not, see // <https://www.gnu.org/licenses/>. // //////////////////////////////////////////////////////////////////////// #if defined (HAVE_CONFIG_H) # include "config.h" #endif #include "octave-build-info.h" std::string octave_hg_id (void) { return "%OCTAVE_HG_ID%"; }