# HG changeset patch # User jwe # Date 792883187 0 # Node ID 0e2974c1cc3759aa2e20e744951be60fe8b04772 # Parent ce9b0bb7916d443a3b4471033c5df6d997926f23 [project @ 1995-02-15 21:16:26 by jwe] diff -r ce9b0bb7916d -r 0e2974c1cc37 src/user-prefs.cc --- a/src/user-prefs.cc Wed Feb 15 21:13:20 1995 +0000 +++ b/src/user-prefs.cc Wed Feb 15 21:19:47 1995 +0000 @@ -64,6 +64,7 @@ user_pref.save_precision = 0; user_pref.silent_functions = 0; user_pref.split_long_rows = 0; + user_pref.suppress_verbose_help_message = 0; user_pref.treat_neg_dim_as_zero = 0; user_pref.warn_assign_as_truth_value = 0; user_pref.warn_comma_in_global_decl = 0; @@ -363,6 +364,19 @@ } +// Suppress printing of additional help message in help and usage +// functions? + +int +suppress_verbose_help_message (void) +{ + user_pref.suppress_verbose_help_message = + check_str_pref ("suppress_verbose_help_message"); + + return 0; +} + + // Should things like: // // octave> ones (-1, 5) diff -r ce9b0bb7916d -r 0e2974c1cc37 src/user-prefs.h --- a/src/user-prefs.h Wed Feb 15 21:13:20 1995 +0000 +++ b/src/user-prefs.h Wed Feb 15 21:19:47 1995 +0000 @@ -47,6 +47,7 @@ int save_precision; int silent_functions; int split_long_rows; + int suppress_verbose_help_message; int treat_neg_dim_as_zero; int warn_assign_as_truth_value; int warn_comma_in_global_decl; @@ -89,6 +90,7 @@ extern int return_last_computed_value (void); extern int silent_functions (void); extern int split_long_rows (void); +extern int suppress_verbose_help_message (void); extern int treat_neg_dim_as_zero (void); extern int warn_assign_as_truth_value (void); extern int warn_comma_in_global_decl (void); diff -r ce9b0bb7916d -r 0e2974c1cc37 src/variables.cc --- a/src/variables.cc Wed Feb 15 21:13:20 1995 +0000 +++ b/src/variables.cc Wed Feb 15 21:19:47 1995 +0000 @@ -1634,6 +1634,12 @@ split_long_rows, "split long matrix rows instead of wrapping"); + DEFVAR ("suppress_verbose_help_message", + SBV_suppress_verbose_help_message, "false", 0, 0, 1, + suppress_verbose_help_message, + "suppress printing of message pointing to additional help in the\n\ +help and usage functions"); + DEFVAR ("stdin", SBV_stdin, 0.0, 0, 1, 1, 0, "file number of the standard input stream");