Skip to contentSkip to conversation

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

bug Juergen Daubert 1 participant 1 message Feb 20, 2015

lore
Share & tools
lore
#0 lore raw

Hello,

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
Juergen

[1] http://roy.marples.name/projects/dhcpcd/artifact/953bd27
[2] http://roy.marples.name/projects/dhcpcd/index