diff options
author | Paul Barker <pbarker@konsulko.com> | 2021-02-05 11:26:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-10 23:48:16 +0000 |
commit | 94f34b951bedaf7c64ba61c07144bc42cc8e9937 (patch) | |
tree | 38b0303b11feaff02d4ccb33efbd9ad6e5e93d6b /bitbake/bin | |
parent | 44176bd3858286f09bc4872efad4616dcdc5ff2b (diff) | |
download | poky-94f34b951bedaf7c64ba61c07144bc42cc8e9937.tar.gz |
bitbake: hashserv: Add short forms of remaining command line arguments
Short form arguments are added for convenience.
(Bitbake rev: 921199a4923ce383b27e23c9b7e34eb785c8bae3)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/bitbake-hashserv | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/bin/bitbake-hashserv b/bitbake/bin/bitbake-hashserv index ab71f4e6c4..153f65a378 100755 --- a/bitbake/bin/bitbake-hashserv +++ b/bitbake/bin/bitbake-hashserv | |||
@@ -30,9 +30,9 @@ def main(): | |||
30 | "--bind [::1]:8686"''' | 30 | "--bind [::1]:8686"''' |
31 | ) | 31 | ) |
32 | 32 | ||
33 | parser.add_argument('--bind', default=DEFAULT_BIND, help='Bind address (default "%(default)s")') | 33 | parser.add_argument('-b', '--bind', default=DEFAULT_BIND, help='Bind address (default "%(default)s")') |
34 | parser.add_argument('--database', default='./hashserv.db', help='Database file (default "%(default)s")') | 34 | parser.add_argument('-d', '--database', default='./hashserv.db', help='Database file (default "%(default)s")') |
35 | parser.add_argument('--log', default='WARNING', help='Set logging level') | 35 | parser.add_argument('-l', '--log', default='WARNING', help='Set logging level') |
36 | parser.add_argument('-u', '--upstream', help='Upstream hashserv to pull hashes from') | 36 | parser.add_argument('-u', '--upstream', help='Upstream hashserv to pull hashes from') |
37 | parser.add_argument('-r', '--read-only', action='store_true', help='Disallow write operations from clients') | 37 | parser.add_argument('-r', '--read-only', action='store_true', help='Disallow write operations from clients') |
38 | 38 | ||