From 2561266c156a1f63ed85fe2865ac607507ae4cef Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 5 Sep 2014 22:43:11 +0200 Subject: Add status socket to get the current status as JSON --- src/options.def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/options.def.h') diff --git a/src/options.def.h b/src/options.def.h index 114b6e9..9ea0476 100644 --- a/src/options.def.h +++ b/src/options.def.h @@ -2,6 +2,9 @@ OPTION(usage, "--help" OR "-h", "Shows this help text"); OPTION(version, "--version" OR "-v", "Shows the fastd version"); OPTION(option_daemon, "--daemon" OR "-d", "Runs fastd in the background"); OPTION_ARG(option_pid_file, "--pid-file", "", "Writes fastd's PID to the specified file"); +#ifdef WITH_STATUS_SOCKET +OPTION_ARG(option_status_socket, "--status-socket", "", "Configure a socket to get fastd's status"); +#endif SEPARATOR; OPTION_ARG(option_config, "--config" OR "-c", "", "Loads a config file"); -- cgit v1.2.3