26 #if ! defined (octave_usage_h)
27 #define octave_usage_h 1
29 #include "octave-config.h"
36 static const char *usage_string =
37 "octave [-HVWdfhiqvx] [--debug] [--doc-cache-file file] [--echo-commands]\n\
38 [--eval CODE] [--exec-path path] [--experimental-terminal-widget]\n\
39 [--gui] [--help] [--image-path path] [--info-file file]\n\
40 [--info-program prog] [--interactive] [--line-editing] [--no-gui]\n\
41 [--no-history] [--no-init-file] [--no-init-path] [--no-line-editing]\n\
42 [--no-site-file] [--no-window-system] [--norc] [-p path]\n\
43 [--path path] [--persist] [--server] [--silent] [--traditional]\n\
44 [--verbose] [--version] [file]";
49 octave_print_verbose_usage_and_exit ()
54 Usage: octave [options] [FILE]\n\
58 --built-in-docstrings-file FILE Use docs for built-ins from FILE.\n\
59 --debug, -d Enter parser debugging mode.\n\
60 --doc-cache-file FILE Use doc cache file FILE.\n\
61 --echo-commands, -x Echo commands as they are executed.\n\
62 --eval CODE Evaluate CODE. Exit when done unless --persist.\n\
63 --exec-path PATH Set path for executing subprograms.\n\
64 --experimental-terminal-widget\n\
65 Use new experimental terminal widget in the GUI.\n\
66 --gui Start the graphical user interface.\n\
67 --help, -h, Print short help message and exit.\n\
68 --image-path PATH Add PATH to head of image search path.\n\
69 --info-file FILE Use top-level info file FILE.\n\
70 --info-program PROGRAM Use PROGRAM for reading info files.\n\
71 --interactive, -i Force interactive behavior.\n\
72 --line-editing Force readline use for command-line editing.\n\
73 --no-gui Disable the graphical user interface.\n\
74 --no-history, -H Don't save commands to the history list\n\
75 --no-init-file Don't read the ~/.octaverc or .octaverc files.\n\
76 --no-init-path Don't initialize function search path.\n\
77 --no-line-editing Don't use readline for command-line editing.\n\
78 --no-site-file Don't read the site-wide octaverc file.\n\
79 --no-window-system, -W Disable window system, including graphics.\n\
80 --norc, -f Don't read any initialization files.\n\
81 --path PATH, -p PATH Add PATH to head of function search path.\n\
82 --persist Go interactive after --eval or reading from FILE.\n\
83 --server Enter server mode at startup.\n\
84 --silent, --quiet, -q Don't print message at startup.\n\
85 --texi-macros-file FILE Use Texinfo macros in FILE for makeinfo command.\n\
86 --traditional Set variables for closer MATLAB compatibility.\n\
87 --verbose, -V Enable verbose output in some cases.\n\
88 --version, -v Print version number and exit.\n\
90 FILE Execute commands from FILE. Exit when done\n\
91 unless --persist is also specified.\n\
106 octave_print_terse_usage_and_exit ()
108 std::cerr <<
"\nusage: " << usage_string <<
"\n\n";
114 octave_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)