mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
86685f001d
Check command line arguments for help text and version string first, before doing any action. This ensures this information is always printed, even when invoked as non-root user. Fixes: https://github.com/ibm-s390-tools/s390-tools/issues/97 Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>