Fix strip so that is accepts -M as an abbreviation for --merge-notes.

PR 22260
	* objcopy.c (strip_main): Add 'M' character to short options list
	when calling getopt_long.
This commit is contained in:
Nick Clifton 2017-10-05 13:48:32 +01:00
parent 5c144731ed
commit ea8fae9fe7
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2017-10-05 Nick Clifton <nickc@redhat.com>
PR 22260
* objcopy.c (strip_main): Add 'M' character to short options list
when calling getopt_long.
2017-10-05 Nick Clifton <nickc@redhat.com>
PR 22262

View File

@ -4131,7 +4131,7 @@ strip_main (int argc, char *argv[])
merge_notes = TRUE;
while ((c = getopt_long (argc, argv, "I:O:F:K:N:R:o:sSpdgxXHhVvwDU",
while ((c = getopt_long (argc, argv, "I:O:F:K:MN:R:o:sSpdgxXHhVvwDU",
strip_options, (int *) 0)) != EOF)
{
switch (c)