Mercurial > hg > octave-lyh
changeset 15618:9aa8dcf1e93d
doc: cross-reference Octave:matlab-incompatible to --braindead and --traditional
* basics.txi (braindead, traditional): mention Octave:matlab-incompatible
* warning_ids (Octave:matlab-incompatible): Mention braindead and traditional
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Wed, 21 Nov 2012 11:32:35 -0500 |
parents | 25db7d506d12 |
children | 1feb913c34ca |
files | doc/interpreter/basics.txi scripts/miscellaneous/warning_ids.m |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/basics.txi +++ b/doc/interpreter/basics.txi @@ -261,6 +261,12 @@ @end group @end example +@noindent +Note that this does not enable the @code{Octave:matlab-incompatible} +warning, which you might want if you want to be told about writing code +that works in Octave but not Matlab; @xref{doc-warning} and +@xref{doc-warning_ids}. + @item --verbose @itemx -V @cindex @code{--verbose}
--- a/scripts/miscellaneous/warning_ids.m +++ b/scripts/miscellaneous/warning_ids.m @@ -176,6 +176,7 @@ ## Print warnings for Octave language features that may cause ## compatibility problems with @sc{matlab}. ## By default, the @code{Octave:matlab-incompatible} warning is disabled. +## @seealso{traditional, braindead} ## ## @item Octave:md5sum-file-in-path ## By default, the @code{Octave:md5sum-file-in-path} warning is enabled.