diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-03-21 18:14:07 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-23 14:24:25 +0000 |
commit | b18f9cb62e12d068fb840fd7ab9f35b4f039e649 (patch) | |
tree | 7fe5ffc5771eaed327e13bc5db24a7c09744dd74 /scripts | |
parent | a9ec72b7897ffc0b901c1ccbcbe3cabbc7ac41ee (diff) | |
download | openembedded-core-contrib-b18f9cb62e12d068fb840fd7ab9f35b4f039e649.tar.gz |
oe-publish-sdk: improve help output slightly
This was just copy-and-pasted from devtool - set a reasonable
description and tweak the sdk parameter help text.
Also add a copyright statement and drop the opening comment describing
the command-line syntax that duplicated the help output (with at least
one mistake in it).
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/oe-publish-sdk | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/scripts/oe-publish-sdk b/scripts/oe-publish-sdk index e91888f8d8a..5dbd1e50f2a 100755 --- a/scripts/oe-publish-sdk +++ b/scripts/oe-publish-sdk @@ -2,13 +2,20 @@ # OpenEmbedded SDK publishing tool -# oe-publish-sdk publish <ext-sdk> <destination> -# <ext-sdk>: extensible SDK to publish (path to the installer shell script) -# <destination>: local or remote location which servers as an SDK update server -# e.g. -# oe-publish-sdk /path/to/sdk-ext.sh /mnt/poky/sdk-ext -# oe-publish-sdk /path/to/sdk-ext.sh user@host:/opt/poky/sdk-ext +# Copyright (C) 2015-2016 Intel Corporation # +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. import sys import os @@ -118,13 +125,12 @@ def publish(args): def main(): - parser = argparse_oe.ArgumentParser(description="OpenEmbedded development tool", - epilog="Use %(prog)s <subcommand> --help to get help on a specific command") + parser = argparse_oe.ArgumentParser(description="OpenEmbedded extensible SDK publishing tool - writes server-side data to support the extensible SDK update process to a specified location") parser.add_argument('-d', '--debug', help='Enable debug output', action='store_true') parser.add_argument('-q', '--quiet', help='Print only errors', action='store_true') - parser.add_argument('sdk', help='Extensible SDK to publish') - parser.add_argument('dest', help='Destination to publish SDK to') + parser.add_argument('sdk', help='Extensible SDK to publish (path to .sh installer file)') + parser.add_argument('dest', help='Destination to publish SDK to; can be local path or remote in the form of user@host:/path (in the latter case ssh/scp will be used).') parser.set_defaults(func=publish) |