[oe-commits] Christopher Larson : recipetool: appendsrcfile: use -D, not -d for destdir

git at git.openembedded.org git at git.openembedded.org
Wed Jul 22 22:20:38 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 0e4c94e2fc5616cc2661df31c20549c4f6baf87a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0e4c94e2fc5616cc2661df31c20549c4f6baf87a

Author: Christopher Larson <chris_larson at mentor.com>
Date:   Thu Jul 16 08:12:00 2015 -0700

recipetool: appendsrcfile: use -D, not -d for destdir

-d is already taken for --debug.

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/lib/recipetool/append.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/recipetool/append.py b/scripts/lib/recipetool/append.py
index 0997f82..ed4af20 100644
--- a/scripts/lib/recipetool/append.py
+++ b/scripts/lib/recipetool/append.py
@@ -456,7 +456,7 @@ def register_command(subparsers):
                                    parents=[common_src],
                                    help='Create/update a bbappend to add or replace source files',
                                    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.')
-    parser.add_argument('-d', '--destdir', help='Destination directory (relative to S or WORKDIR, defaults to ".")', default='', type=destination_path)
+    parser.add_argument('-D', '--destdir', help='Destination directory (relative to S or WORKDIR, defaults to ".")', default='', type=destination_path)
     parser.add_argument('files', nargs='+', metavar='FILE', help='File(s) to be added to the recipe sources (WORKDIR or S)', type=existing_path)
     parser.set_defaults(func=lambda a: appendsrcfiles(parser, a), parserecipes=True)
 



More information about the Openembedded-commits mailing list