diff --git a/tools/swupdate-progress.c b/tools/swupdate-progress.c index bd5a7913..f298a38a 100644 --- a/tools/swupdate-progress.c +++ b/tools/swupdate-progress.c @@ -62,7 +62,7 @@ static void textcolor(int attr, int fg, int bg) static struct option long_options[] = { {"help", no_argument, NULL, 'h'}, - {"psplash", no_argument, NULL, 'p'}, + {"psplash", optional_argument, NULL, 'p'}, {"reboot", optional_argument, NULL, 'r'}, {"wait", no_argument, NULL, 'w'}, {"color", no_argument, NULL, 'c'}, @@ -83,14 +83,50 @@ static void usage(char *programname) " -r, --reboot [