diff mbox series

Move license banner after checking parameters

Message ID 20201110130521.76549-3-sbabic@denx.de
State Accepted
Headers show
Series Move license banner after checking parameters | expand

Commit Message

Stefano Babic Nov. 10, 2020, 1:05 p.m. UTC
Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 core/swupdate.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/core/swupdate.c b/core/swupdate.c
index 6eaa588..5e5fbaf 100644
--- a/core/swupdate.c
+++ b/core/swupdate.c
@@ -748,10 +748,6 @@  int main(int argc, char **argv)
 					   read_processes_settings, &swcfg);
 	}
 
-	printf("%s\n", BANNER);
-	printf("Licensed under GPLv2. See source distribution for detailed "
-		"copyright notices.\n\n");
-
 	/*
 	 * Command line should be parsed a second time
 	 * This let line parameters overload
@@ -944,6 +940,10 @@  int main(int argc, char **argv)
 		}
 	}
 
+	printf("%s\n", BANNER);
+	printf("Licensed under GPLv2. See source distribution for detailed "
+		"copyright notices.\n\n");
+
 	/*
 	 * Install a child handler to check if a subprocess
 	 * dies