diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-11-28 18:31:51 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-11-28 18:31:51 -0600 |
| commit | 09fef11e1fedf129756bf36f754ff16dc561f417 (patch) | |
| tree | 899eeb17eb3244e9eb91a153be7a85125e02c6ed /docs | |
| parent | ff4d8075559cd2c7544982356ac1a801452b215d (diff) | |
| download | slskd-09fef11e1fedf129756bf36f754ff16dc561f417.tar.gz | |
document flags and commands
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/config.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md index e69de29b..4ee0d7a1 100644 --- a/docs/config.md +++ b/docs/config.md @@ -0,0 +1,23 @@ +# Feature Flags + +A number of feature flags are provided to change the runtime behavior of the application. Most of these options are useful only for development. Available feature flags are: + +|Flag|Description| +|----|-----------| +|`-d\|--debug`|Run the application in debug mode. Produces verbose log output.| +|`-n\|--no-logo`|Don't show the application logo on startup| +|`-x\|--no-start`|Bootstrap the application, but don't start| +|`--no-connect`|Start the application, but don't connect to the server| +|`--no-share-scan`|Don't perform a scan of shared directories on startup| +|`--no-version-check`|Don't perform a version check on startup| + +# Commands + +The application can be run in "command mode", causing it to execute a command and then quit immediately. Available commands are: + +|Command|Description| +|-------|-----------| +|`-v\|--version`|Display the current application version| +|`-h\|--help`|Display available command-line arguments| +|`-e\|--envars`|Display available environment variables| +|`-g\|--generate-cert`|Generate an X509 certificate and password for HTTPS|
\ No newline at end of file |
