aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-04-08 05:04:13 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-04-08 05:04:13 -0700
commitbfcf0ccd0131621213c5d6f2908cd703a90176f7 (patch)
treec768c9acd0d69c6c9b7f483d91705c277c27855c
parentc58212eaf957ef39484ed71316074fd8366e9c4a (diff)
downloadgdb-bfcf0ccd0131621213c5d6f2908cd703a90176f7.zip
gdb-bfcf0ccd0131621213c5d6f2908cd703a90176f7.tar.gz
gdb-bfcf0ccd0131621213c5d6f2908cd703a90176f7.tar.bz2
Display --interleave[=<number>]
Optional argument of a command line option must start with "=". * objcopy.c (copy_usage): Replace "--interleave [<number>]" with --interleave[=<number>].
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/objcopy.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 230a58d..bbc00b9 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * objcopy.c (copy_usage): Replace "--interleave [<number>]" with
+ --interleave[=<number>].
+
2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (get_elf_section_flags): Support SHF_COMPRESSED.
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index 128044c..a21006a 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -537,7 +537,7 @@ copy_usage (FILE *stream, int exit_status)
-w --wildcard Permit wildcard in symbol comparison\n\
-x --discard-all Remove all non-global symbols\n\
-X --discard-locals Remove any compiler-generated symbols\n\
- -i --interleave [<number>] Only copy N out of every <number> bytes\n\
+ -i --interleave[=<number>] Only copy N out of every <number> bytes\n\
--interleave-width <number> Set N for --interleave\n\
-b --byte <num> Select byte <num> in every interleaved block\n\
--gap-fill <val> Fill gaps between sections with <val>\n\