changeset 20483:1690807b226c

Fix incorrect error message when saving with -text and -float-binary options. * load-save.cc (Fsave): Change error message to say that using both '-text' and '-float-binary' options together is disallowed.
author Rik <rik@octave.org>
date Mon, 17 Aug 2015 09:24:07 -0700
parents c6224b4e7774
children df4165dfc676
files libinterp/corefcn/load-save.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/load-save.cc	Mon Aug 17 09:20:03 2015 -0700
+++ b/libinterp/corefcn/load-save.cc	Mon Aug 17 09:24:07 2015 -0700
@@ -1642,7 +1642,7 @@
 
   if (save_as_floats && format == LS_TEXT)
     {
-      error ("save: cannot specify both -ascii and -float-binary");
+      error ("save: cannot specify both -text and -float-binary");
       return retval;
     }