diff options
author | Christopher Larson <chris_larson@mentor.com> | 2015-07-16 08:12:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-23 08:48:41 +0100 |
commit | 5c080f71bff2b3b369c0a88ef3c9e67f03b31bcd (patch) | |
tree | 4bd0bd70edc6c9e4cea9ffbfbc1822e29dc09382 /scripts/lib/recipetool | |
parent | 023e9b2685c4d3d8296f96f048217c8c89327ee3 (diff) | |
download | poky-5c080f71bff2b3b369c0a88ef3c9e67f03b31bcd.tar.gz |
recipetool: appendsrcfile: use -D, not -d for destdir
-d is already taken for --debug.
(From OE-Core rev: fc174debb073c99a0cabf4f00e66ab36c7e93989)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool')
-rw-r--r-- | scripts/lib/recipetool/append.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/append.py b/scripts/lib/recipetool/append.py index 0997f82b72..ed4af2054a 100644 --- a/scripts/lib/recipetool/append.py +++ b/scripts/lib/recipetool/append.py | |||
@@ -456,7 +456,7 @@ def register_command(subparsers): | |||
456 | parents=[common_src], | 456 | parents=[common_src], |
457 | help='Create/update a bbappend to add or replace source files', | 457 | help='Create/update a bbappend to add or replace source files', |
458 | description='Creates a bbappend (or updates an existing one) to add or replace the specified file in the recipe sources, either those in WORKDIR or those in the source tree. This command lets you specify multiple files with a destination directory, so cannot specify the destination filename. See the `appendsrcfile` command for the other behavior.') | 458 | description='Creates a bbappend (or updates an existing one) to add or replace the specified file in the recipe sources, either those in WORKDIR or those in the source tree. This command lets you specify multiple files with a destination directory, so cannot specify the destination filename. See the `appendsrcfile` command for the other behavior.') |
459 | parser.add_argument('-d', '--destdir', help='Destination directory (relative to S or WORKDIR, defaults to ".")', default='', type=destination_path) | 459 | parser.add_argument('-D', '--destdir', help='Destination directory (relative to S or WORKDIR, defaults to ".")', default='', type=destination_path) |
460 | parser.add_argument('files', nargs='+', metavar='FILE', help='File(s) to be added to the recipe sources (WORKDIR or S)', type=existing_path) | 460 | parser.add_argument('files', nargs='+', metavar='FILE', help='File(s) to be added to the recipe sources (WORKDIR or S)', type=existing_path) |
461 | parser.set_defaults(func=lambda a: appendsrcfiles(parser, a), parserecipes=True) | 461 | parser.set_defaults(func=lambda a: appendsrcfiles(parser, a), parserecipes=True) |
462 | 462 | ||