26#if ! defined (octave_usage_h)
27#define octave_usage_h 1
29#include "octave-config.h"
36static const char *usage_string =
37 "octave [-GHVWefghiqvx] [--echo-commands] [--eval CODE]\n\
38 [--experimental-terminal-widget] [--gui] [--help] [--interactive]\n\
39 [--line-editing] [--no-gui] [--no-history] [--no-init-all]\n\
40 [--no-init-path] [--no-init-site] [--no-init-user]\n\
41 [--no-line-editing] [--no-window-system] [--path path] [--persist]\n\
42 [--quiet] [--server] [--traditional] [--version] [file]";
47octave_print_verbose_usage_and_exit ()
52Usage: octave [options] [FILE]\n\
61 --echo-commands, -x Echo commands as they are executed.\n\
62 --eval, -e CODE Evaluate CODE. Exit when done unless --persist.\n\
63 --experimental-terminal-widget\n\
64 Use new experimental terminal widget in the GUI.\n\
65 --gui, -g Start the graphical user interface.\n\
66 --help, -h, Print short help message and exit.\n\
67 --interactive, -i Force interactive behavior.\n\
68 --line-editing Force readline use for command-line editing.\n\
69 --no-gui, -G Disable the graphical user interface.\n\
70 --no-history, -H Don't save commands to the history list\n\
71 --no-init-all, --norc, -f\n\
72 Don't read any initialization files.\n\
73 --no-init-path Don't initialize function search path.\n\
74 --no-init-site Don't read the site-wide octaverc files.\n\
75 --no-init-user Don't read the ~/.octaverc or .octaverc files.\n\
76 --no-line-editing Don't use readline for command-line editing.\n\
77 --no-window-system, -W Disable window system, including graphics.\n\
78 --path PATH, -p PATH Add PATH to head of function search path.\n\
79 --persist Go interactive after --eval or reading from FILE.\n\
80 --server Enter server mode at startup.\n\
81 --quiet, --silent, -q Don't print message at startup.\n\
82 --traditional Set variables for closer MATLAB compatibility.\n\
83 --version, -v Print version number and exit.\n\
85 FILE Execute commands from FILE. Exit when done\n\
86 unless --persist is also specified.\n\
101octave_print_terse_usage_and_exit ()
103 std::cerr <<
"\nusage: " << usage_string <<
"\n\n";
109octave_print_version_and_exit ()
std::string octave_name_version_copyright_copying_and_warranty(bool html, const std::string &extra_info)
std::string octave_bugs_statement(bool html)
std::string octave_www_statement(bool html)
std::string octave_name_version_copyright_copying_warranty_and_bugs(bool html, const std::string &extra_info)
std::string octave_contrib_statement(bool html)