Skip to content

Commit

Permalink
Remove obsolete load options '-force' and '-import'.
Browse files Browse the repository at this point in the history
* load-save.cc (load_save_system::load): Remove input parsing code for '-force'
and '-import'
  • Loading branch information
Rik committed Feb 3, 2025
1 parent 87a4059 commit 0a5fb6a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions libinterp/corefcn/load-save.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1233,17 +1233,6 @@ load_save_system::load (const octave_value_list& args, int nargout)
{
format = MAT_BINARY;
}
// FIXME: Unsupported and silently ignored. Can we just delete this?
else if (argv[i] == "-force" || argv[i] == "-f")
{
// Silently ignore this
// warning ("load: -force ignored");
}
// FIXME: Unsupported and ignored. Can we just delete this?
else if (argv[i] == "-import" || argv[i] == "-i")
{
warning ("load: -import ignored");
}
else if (argv[i] == "-list" || argv[i] == "-l")
{
list_only = true;
Expand Down

0 comments on commit 0a5fb6a

Please sign in to comment.