From 3776a0fa8c3751383143e151b137b763b7736e20 Mon Sep 17 00:00:00 2001 From: Paul Gier Date: Oct 03 2016 12:50:07 +0000 Subject: Add a description for the srpm and sources subcommands If no description is set, then the detailed help messages prints only usage info without a description Signed-off-by: Paul Gier --- diff --git a/pyrpkg/cli.py b/pyrpkg/cli.py index 0552808..106154b 100755 --- a/pyrpkg/cli.py +++ b/pyrpkg/cli.py @@ -716,7 +716,8 @@ defined, packages will be built sequentially.""" % {'name': self.name}) """Register the sources target""" sources_parser = self.subparsers.add_parser( - 'sources', help='Download source files') + 'sources', help='Download source files', + description='Download source files') sources_parser.add_argument( '--outdir', default=os.curdir, help='Directory to download files into (defaults to pwd)') @@ -726,7 +727,8 @@ defined, packages will be built sequentially.""" % {'name': self.name}) """Register the srpm target""" srpm_parser = self.subparsers.add_parser( - 'srpm', help='Create a source rpm') + 'srpm', help='Create a source rpm', + description='Create a source rpm') # optionally define old style hashsums srpm_parser.add_argument( '--md5', action='store_const', const='md5', default=None,