[virt-tools-list] [virt-bootstrap] [PATCH v4 06/13] Update argument helpers

Cedric Bosdonnat cbosdonnat at suse.com
Fri Jul 21 12:53:06 UTC 2017


On Fri, 2017-07-21 at 13:13 +0100, Radostin Stoyanov wrote:
> ---
>  src/virtBootstrap/virt_bootstrap.py | 11 ++++-------
>  1 file changed, 4 insertions(+), 7 deletions(-)
> 
> diff --git a/src/virtBootstrap/virt_bootstrap.py b/src/virtBootstrap/virt_bootstrap.py
> index 9ad35ce..04c87d4 100755
> --- a/src/virtBootstrap/virt_bootstrap.py
> +++ b/src/virtBootstrap/virt_bootstrap.py
> @@ -240,8 +240,7 @@ def main():
>      parser.add_argument("uri",
>                          help=_("URI of container image"))
>      parser.add_argument("dest",
> -                        help=_("Destination folder"
> -                               "where image files to be extracted"))
> +                        help=_("Destination folder"))
>      parser.add_argument("--not-secure", action='store_true',
>                          help=_("Ignore HTTPS errors"))
>      parser.add_argument("-u", "--username", default=None,
> @@ -249,7 +248,7 @@ def main():
>      parser.add_argument("-p", "--password", default=None,
>                          help=_("Password for accessing the source registry"))
>      parser.add_argument("--root-password", default=None,
> -                        help=_("Root password to set in the created rootfs"))
> +                        help=_("Set root password"))
>      parser.add_argument("--uidmap", default=None, action='append',
>                          metavar="<start>:<target>:<count>",
>                          help=_("Map UIDs"))
> @@ -268,12 +267,10 @@ def main():
>                          const=logging.DEBUG, help=_("Show debug messages"))
>      parser.add_argument("-q", "--quiet", action="store_const", dest="loglevel",
>                          const=logging.WARNING,
> -                        help=_("Suppresses messages notifying about"
> -                               "current state or actions of virt-bootstrap"))
> +                        help=_("Don't print progress messages"))
>      parser.add_argument("--status-only", action="store_const",
>                          const=utils.write_progress,
> -                        help=_("Show only the current status and progress"
> -                               "of virt-bootstrap"))
> +                        help=_("Show only progress information"))
>  
>      try:
>          args = parser.parse_args()

ACK

--
Cedric




More information about the virt-tools-list mailing list