mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(parse_options): Remove --allow-missing option.
You can use --retry instead.
This commit is contained in:
1 parent
69dc13717a
commit
f90df192b4
1 file changed
-7
@@ -190,7 +190,6 @@ static bool presume_input_pipe;
|
||||
enum
|
||||
{
|
||||
RETRY_OPTION = CHAR_MAX + 1,
|
||||
ALLOW_MISSING_OPTION, /* deprecated, FIXME: remove in late 2004 */
|
||||
MAX_UNCHANGED_STATS_OPTION,
|
||||
PID_OPTION,
|
||||
PRESUME_INPUT_PIPE_OPTION,
|
||||
@@ -199,8 +198,6 @@ enum
|
||||
|
||||
static struct option const long_options[] =
|
||||
{
|
||||
/* FIXME: remove in 2005 --allow-missing is deprecated; use --retry instead */
|
||||
{"allow-missing", no_argument, NULL, ALLOW_MISSING_OPTION},
|
||||
{"bytes", required_argument, NULL, 'c'},
|
||||
{"follow", optional_argument, NULL, LONG_FOLLOW_OPTION},
|
||||
{"lines", required_argument, NULL, 'n'},
|
||||
@@ -1493,10 +1490,6 @@ parse_options (int argc, char **argv,
|
||||
follow_mode_string, follow_mode_map);
|
||||
break;
|
||||
|
||||
case ALLOW_MISSING_OPTION:
|
||||
error (0, 0,
|
||||
_("the --allow-missing option is deprecated; use --retry instead"));
|
||||
/* fall through */
|
||||
case RETRY_OPTION:
|
||||
reopen_inaccessible_files = true;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user