summaryrefslogtreecommitdiff
path: root/scripts/lib/devtool
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-12-22 17:03:15 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-22 16:44:04 +0000
commit08ca966dd48db881d8bfb7d7fa0aba49f1f7cffe (patch)
tree207fc02d5a1e3495b903cd223be74a1f43968d8f /scripts/lib/devtool
parent1c616802ba2cfb37f8403f1dc6cf91ce3bd99ac2 (diff)
downloadopenembedded-core-08ca966dd48db881d8bfb7d7fa0aba49f1f7cffe.tar.gz
openembedded-core-08ca966dd48db881d8bfb7d7fa0aba49f1f7cffe.tar.bz2
openembedded-core-08ca966dd48db881d8bfb7d7fa0aba49f1f7cffe.zip
devtool: sync: tweak help / messages
Much of this was copy/pasted from the extract subcommand code; make it specific to sync. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool')
-rw-r--r--scripts/lib/devtool/standard.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index a9c4cf8d8d..fbc49a9777 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -346,7 +346,7 @@ def sync(args, config, basepath, workspace):
srctree = os.path.abspath(args.srctree)
initial_rev = _extract_source(srctree, args.keep_temp, args.branch, True, rd)
- logger.info('Source tree extracted to %s' % srctree)
+ logger.info('Source tree %s synchronized' % srctree)
if initial_rev:
return 0
@@ -1326,11 +1326,11 @@ def register_commands(subparsers, context):
parser_extract.add_argument('--keep-temp', action="store_true", help='Keep temporary directory (for debugging)')
parser_extract.set_defaults(func=extract, no_workspace=True)
- parser_sync = subparsers.add_parser('sync', help='Synchronize the source for an existing recipe',
- description='Synchronize the source for an existing recipe',
+ parser_sync = subparsers.add_parser('sync', help='Synchronize the source tree for an existing recipe',
+ description='Synchronize the previously extracted source tree for an existing recipe',
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
- parser_sync.add_argument('recipename', help='Name for recipe to sync the source for')
- parser_sync.add_argument('srctree', help='Path to where to sync the source tree')
+ parser_sync.add_argument('recipename', help='Name of recipe to sync the source for')
+ parser_sync.add_argument('srctree', help='Path to the source tree')
parser_sync.add_argument('--branch', '-b', default="devtool", help='Name for development branch to checkout')
parser_sync.add_argument('--keep-temp', action="store_true", help='Keep temporary directory (for debugging)')
parser_sync.set_defaults(func=sync)