[bug] logger 2.26: regression, option -i not combinable with other options

From: Juergen Daubert
Date: Fri Feb 20 2015 - 05:20:40 EST


with logger from util-linux 2.25.x it's possible to combine the option
-i with other options like:

logger -is

with 2.26 I get the following error message:

$:~> logger -is
logger: failed to parse id: 's'

The changed behaviour breaks existing scripts like dhcpcd-run-hooks [1]
from dhcpcd [2].

Posible solution:
- don't combine the -i and --id options but keep the behaviour of -i and
make --id a long-form only option.

Thanks and best regards

[1] http://roy.marples.name/projects/dhcpcd/artifact/953bd27
[2] http://roy.marples.name/projects/dhcpcd/index
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/