Message ID | 6a2f4af5-3b4d-4aee-b16a-5b51f91af895n@googlegroups.com |
---|---|
State | Accepted |
Headers | show |
Series | core: Add usage for -g/--get-root option. | expand |
Hi David, On 12.07.22 02:40, David Antliff wrote: > The -g/--get-root option seems to be missing from the --help output. As > this is a relatively new feature, it makes it more difficult to > determine if a particular version of SWUpdate supports this option if it > isn't presented in the usage. > > Signed-off-by: David Antliff <david.antliff@gmail.com> > --- > core/swupdate.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/core/swupdate.c b/core/swupdate.c > index 3c9c8cb..98aee1f 100644 > --- a/core/swupdate.c > +++ b/core/swupdate.c > @@ -168,6 +168,7 @@ static void usage(char *programname) > " -H, --hwrevision <board>:<rev> : Set hardware revision\n" > #endif > " -c, --check : check image and exit, use > with -i <filename>\n" > + " -g, --get-root : detect and print the root > device and exit\n" > " -h, --help : print this help and exit\n" > ); > #ifdef CONFIG_DOWNLOAD > -- > 2.34.1 > > Acked-by: Stefano Babic <sbabic@denx.de> Best regards, Stefano Babic
diff --git a/core/swupdate.c b/core/swupdate.c index 3c9c8cb..98aee1f 100644 --- a/core/swupdate.c +++ b/core/swupdate.c @@ -168,6 +168,7 @@ static void usage(char *programname) " -H, --hwrevision <board>:<rev> : Set hardware revision\n" #endif " -c, --check : check image and exit, use with -i <filename>\n" + " -g, --get-root : detect and print the root device and exit\n" " -h, --help : print this help and exit\n" );
The -g/--get-root option seems to be missing from the --help output. As this is a relatively new feature, it makes it more difficult to determine if a particular version of SWUpdate supports this option if it isn't presented in the usage. Signed-off-by: David Antliff <david.antliff@gmail.com> --- core/swupdate.c | 1 + 1 file changed, 1 insertion(+) #ifdef CONFIG_DOWNLOAD