sim: parse_args: polish getopt error message
authorMike Frysinger <vapier@gentoo.org>
Mon, 4 Jan 2016 10:08:26 +0000 (05:08 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 4 Jan 2016 10:08:26 +0000 (05:08 -0500)
commit8d7d784e23b5b2f8c7e28ece1bdb73b58199f16f
tree63ee8b4214d5154200761718a5ca4e6e5484b5e2
parent9bbf6f91c6e85ca916ec2c266009167f20f5ecfd
sim: parse_args: polish getopt error message

The cris sim hit a few failures after the recent getopt logic, and the
expected output showed a few ways we can improve things to better match
other utils.
sim/common/ChangeLog
sim/common/sim-options.c
sim/testsuite/sim/cris/ChangeLog
sim/testsuite/sim/cris/asm/opterr1.ms
sim/testsuite/sim/cris/asm/opterr2.ms