|
wxMaxima
|
wxmaxima-genopts: writes everything that describes wxMaxima's command line from the one table in CommandLineOptions.h. More...
#include "CommandLineOptions.h"#include <cctype>#include <fstream>#include <initializer_list>#include <iostream>#include <sstream>#include <string>#include <string_view>#include <vector>Functions | |
| int | main (int argc, char *argv[]) |
wxmaxima-genopts: writes everything that describes wxMaxima's command line from the one table in CommandLineOptions.h.
It is a build-time tool, not part of wxMaxima: it uses no wxWidgets, so it builds and runs without a display, which running wxMaxima itself (whose main() starts the GUI before it parses its arguments) would not.
Usage: wxmaxima-genopts bash OUTFILE bash completion wxmaxima-genopts zsh OUTFILE zsh completion wxmaxima-genopts fish OUTFILE fish completion wxmaxima-genopts man TEMPLATE OUTFILE copies TEMPLATE, replacing the line that contains the marker "WXMAXIMA-GENERATED-OPTIONS" by the man page's option list wxmaxima-genopts check FILE... fails if a FILE does not mention every long option. For documents that are written (and translated) by hand.