osbuilder: Remove redundant argument to test_image.sh

Remove the redundant `--distro` argument; when needed, the distro can be
specified using a positional argument.

Fixes: #158

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
This commit is contained in:
Marco Vedovati 2018-09-10 16:12:04 +02:00
parent 93ad0491ef
commit 6a307ed322

View File

@ -42,7 +42,6 @@ Usage: $script_name [help|<distro>]
Options:
-h | --help # Show usage.
--distro <distro> # Only run tests for specified distro.
--list # List all distros that can be tested.
--test-images-only # Only run images tests for the list of distros under test.
--test-initrds-only # Only run initrds tests for the list of distros under test.
@ -478,8 +477,6 @@ main()
while [ $# -gt 1 ]
do
case "$1" in
--distro) distro="$2";;
-h|--help) usage; exit 0 ;;
--list) list_distros; exit 0;;