aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.c
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-18 10:16:45 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-18 10:16:45 +0100
commit5726a0d84460a4b67a254c4dcfaa40bf9cc12e45 (patch)
treed6150d86e876c402db5ee3e7e613d63145f5fa64 /src/client.c
parent9fe3814a2ef0be8e5b693fb0fa42064b33d0ae45 (diff)
downloadBobinkCOpcUa-5726a0d84460a4b67a254c4dcfaa40bf9cc12e45.tar.gz
BobinkCOpcUa-5726a0d84460a4b67a254c4dcfaa40bf9cc12e45.zip
Standardize config file section ordering, list operations in usage
Group config keys into sections separated by blank lines: identity, encryption (certificate/privateKey/trustStore), security mode, auth. Program-specific keys (cleanupTimeout, registerInterval) go last. Show available operations in Client usage message.
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/client.c b/src/client.c
index f03a337..ccb1021 100644
--- a/src/client.c
+++ b/src/client.c
@@ -162,10 +162,11 @@ main (int argc, char **argv)
{
if (argc < 4 || argc > 5)
{
- UA_LOG_FATAL (
- UA_Log_Stdout, UA_LOGCATEGORY_USERLAND,
- "Usage: %s <config-file> <operation> <endpoint-url> [log-level]",
- argv[0]);
+ UA_LOG_FATAL (UA_Log_Stdout, UA_LOGCATEGORY_USERLAND,
+ "Usage: %s <config-file> <operation> <endpoint-url> "
+ "[log-level]\n"
+ "Operations: find-servers, get-endpoints, read-time",
+ argv[0]);
return EXIT_FAILURE;
}