Mercurial > hg > octave-nkf
changeset 4010:0a30852e0249
[project @ 2002-07-31 16:20:35 by jwe]
author | jwe |
---|---|
date | Wed, 31 Jul 2002 16:20:35 +0000 |
parents | 27e461aed956 |
children | eb377885843d |
files | src/variables.cc |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/variables.cc +++ b/src/variables.cc @@ -1429,33 +1429,33 @@ while (++idx < argc) { - if (argv[idx] == "--all" || argv[idx] == "-a") + if (argv[idx] == "-all" || argv[idx] == "-a") { CLEAR_OPTION_ERROR (have_dash_option && ! exclusive); have_dash_option = true; clear_all = true; } - else if (argv[idx] == "--exclusive" || argv[idx] == "-x") + else if (argv[idx] == "-exclusive" || argv[idx] == "-x") { have_dash_option = true; exclusive = true; } - else if (argv[idx] == "--functions" || argv[idx] == "-f") + else if (argv[idx] == "-functions" || argv[idx] == "-f") { CLEAR_OPTION_ERROR (have_dash_option && ! exclusive); have_dash_option = true; clear_functions = true; } - else if (argv[idx] == "--global" || argv[idx] == "-g") + else if (argv[idx] == "-global" || argv[idx] == "-g") { CLEAR_OPTION_ERROR (have_dash_option && ! exclusive); have_dash_option = true; clear_globals = true; } - else if (argv[idx] == "--variables" || argv[idx] == "-v") + else if (argv[idx] == "-variables" || argv[idx] == "-v") { CLEAR_OPTION_ERROR (have_dash_option && ! exclusive); @@ -1480,7 +1480,7 @@ if (++idx < argc) warning - ("clear: ignoring extra arguments after --all"); + ("clear: ignoring extra arguments after -all"); curr_sym_tab->clear (); fbi_sym_tab->clear_functions ();