Mercurial > octave
diff etc/NEWS.10.md @ 32669:b18af44b044b
Add new short form aliases of runtime long form options to octave.
Add '-e CODE' for '--eval CODE', '-g' for '--gui', '-G' for '--no-gui'.
* NEWS.10.md: Announce 3 new aliases.
* basics.txi: Update Octave manual with new aliases.
* octave.cc (cmdline_options): Update case statements to use new identifiers.
* options.h (*short_opts): Update list of short form opts to include 'G','e','g'.
* options.h: Remove EVAL_OPTION, GUI_OPTION, NO_GUI_OPTION from list of #defines
and renumber existing getopt options.
* options.h (long_opts[]): Update getopts structure to allow 'e' for '--eval',
'-g' for '--gui' or '--force-gui', '-G', for '--no-gui'.
* usage.h (*usage_string): Update usage to include 'G','e','g'.
* main.in.cc (main): Update case statements to use new identifiers.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 29 Dec 2023 16:03:06 -0800 |
parents | f53ac65ffba6 |
children | 03dcf031fbf3 |
line wrap: on
line diff
--- a/etc/NEWS.10.md Fri Dec 29 14:36:12 2023 -0800 +++ b/etc/NEWS.10.md Fri Dec 29 16:03:06 2023 -0800 @@ -3,6 +3,12 @@ ### General improvements +- Three short form aliases have been added for long form options when starting +`octave`. + * `-e CODE` for `--eval CODE` + * `-g` for `--gui` + * `-G` for `--no-gui` + ### Graphical User Interface ### Graphics backend