mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
f247850ff0
Currently, for some commands (e.g. `zgetdump unmount`) unused positional arguments are silently ignored, for some commands (`zgetdump mount`) they're not. Therefore let's fix this by always returning an error message and exit code if too many positional arguments are given. Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
7.6 KiB
7.6 KiB