Otherwise, `nice --1 -3' would mistakenly do the equivalent of `nice --3'.
Thanks to Eric Backus <ericb@lsid.hp.com> for the test cases.
{
if (!isinteger (&s[1]))
error (1, 0, _("invalid option `%s'"), s);
+
+ minusflag = 0;
/* FIXME: use xstrtol */
adjustment = atoi (&s[1]);
adjustment_given = 1;
case 'n':
if (!isinteger (optarg))
error (1, 0, _("invalid priority `%s'"), optarg);
+
+ minusflag = 0;
/* FIXME: use xstrtol */
adjustment = atoi (optarg);
adjustment_given = 1;