diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-05 22:43:11 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-05 22:43:11 +0200 |
commit | 2561266c156a1f63ed85fe2865ac607507ae4cef (patch) | |
tree | 9fbc7cf5fb9a045e7bbf70ab07f9b5b4e518a782 /src/options.def.h | |
parent | 5f898aa52f81671cbc54beea19211c8a75e0962f (diff) | |
download | fastd-2561266c156a1f63ed85fe2865ac607507ae4cef.tar fastd-2561266c156a1f63ed85fe2865ac607507ae4cef.zip |
Add status socket to get the current status as JSON
Diffstat (limited to 'src/options.def.h')
-rw-r--r-- | src/options.def.h | 3 |
1 files changed, 3 insertions, 0 deletions
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", "<filename>", "Writes fastd's PID to the specified file"); +#ifdef WITH_STATUS_SOCKET +OPTION_ARG(option_status_socket, "--status-socket", "<socket>", "Configure a socket to get fastd's status"); +#endif SEPARATOR; OPTION_ARG(option_config, "--config" OR "-c", "<filename>", "Loads a config file"); |