- {DBUS_CLIENT, 1, "dbus-client", "Bind to an afb service through dbus"},
- {DBUS_SERVICE, 1, "dbus-server", "Provides an afb service through dbus"},
- {WS_CLIENT, 1, "ws-client", "Bind to an afb service through websocket"},
- {WS_SERVICE, 1, "ws-server", "Provides an afb service through websockets"},
- {SO_BINDING, 1, "binding", "Load the binding of path"},
+#if defined(WITH_DBUS_TRANSPARENCY)
+ {ADD_DBUS_CLIENT, 1, "dbus-client", "Bind to an afb service through dbus"},
+ {ADD_DBUS_SERVICE, 1, "dbus-server", "Provide an afb service through dbus"},
+#endif
+ {ADD_WS_CLIENT, 1, "ws-client", "Bind to an afb service through websocket"},
+ {ADD_WS_SERVICE, 1, "ws-server", "Provide an afb service through websockets"},
+
+ {ADD_AUTO_API, 1, "auto-api", "Automatic load of api of the given directory"},
+
+ {SET_SESSIONMAX, 1, "session-max", "Max count of session simultaneously [default " d2s(DEFAULT_MAX_SESSION_COUNT) "]"},
+
+#if WITH_AFB_HOOK
+ {SET_TRACEREQ, 1, "tracereq", "Log the requests: none, common, extra, all"},
+ {SET_TRACEEVT, 1, "traceevt", "Log the events: none, common, extra, all"},
+ {SET_TRACESES, 1, "traceses", "Log the sessions: none, all"},
+ {SET_TRACEAPI, 1, "traceapi", "Log the apis: none, common, api, event, all"},
+ {SET_TRACEGLOB, 1, "traceglob", "Log the globals: none, all"},
+#if !defined(REMOVE_LEGACY_TRACE)
+ {SET_TRACEDITF, 1, "traceditf", "Log the daemons: no, common, all"},
+ {SET_TRACESVC, 1, "tracesvc", "Log the services: no, all"},
+#endif
+#endif
+
+ {ADD_CALL, 1, "call", "Call at start, format of val: API/VERB:json-args"},
+
+ {SET_NO_HTTPD, 0, "no-httpd", "Forbid HTTP service"},
+ {SET_EXEC, 0, "exec", "Execute the remaining arguments"},
+
+#if defined(WITH_MONITORING_OPTION)
+ {SET_MONITORING, 0, "monitoring", "Enable HTTP monitoring at <ROOT>/monitoring/"},
+#endif
+
+ {SET_CONFIG, 1, "config", "Load options from the given config file"},
+ {DUMP_CONFIG, 0, "dump-config", "Dump the config to stdout and exit"},