mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 07:48:55 +00:00
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:
parent
93ad0491ef
commit
6a307ed322
@ -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;;
|
||||
|
Loading…
Reference in New Issue
Block a user