diff mbox series

[v2,4/7] swupdate-client: remove invalid option from help

Message ID 20231025055142.54505-5-felix.moessbauer@siemens.com
State Accepted
Headers show
Series Rework socket creation to better integrate with systemd | expand

Commit Message

Felix Moessbauer Oct. 25, 2023, 5:51 a.m. UTC
The swupdate-client help message mentioned a --select alias for the -e
parameter. This alias was never registered in the argument parsing.
Hence, just drop it from the help message.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 tools/swupdate-client.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/tools/swupdate-client.c b/tools/swupdate-client.c
index 923643c..ee89465 100644
--- a/tools/swupdate-client.c
+++ b/tools/swupdate-client.c
@@ -40,8 +40,8 @@  static void usage(void) {
 		" Available OPTIONS\n"
 		" -h : print help and exit\n"
 		" -d : ask the server to only perform a dry run\n"
-		" -e, --select <software>,<mode> : Select software images set and source\n"
-		"                                  Ex.: stable,main\n"
+		" -e <software>,<mode> : Select software images set and source\n"
+		"                        Ex.: stable,main\n"
 		" -q : go quiet, resets verbosity\n"
 		" -v : go verbose, essentially print upgrade status messages from server\n"
 		" -p : ask the server to run post-update commands if upgrade succeeds\n"