This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: More H'00 support


Hi Cecilia,

However, I have observed a strange behaviour while using this option. The assembler did not complain
when '-h-tick-he' is used instead of '-h-tick-hex'. I further checked that the assembler accepts the following other incorrect
options without generating any error message,
'-h-', '-h-t', '-h-tick-' etc.

Actually this is the expected behaviour. Any long command line option can be abbreviated to a shorter version, provided that it is unambiguous. So for example "as --vers" will do the same thing as "as --version", but "as --ver" will be rejected because it could be shorthand for either "as --version" or "as --verbose".


Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]