+.. option:: -h, --help
+
+ Show help.
+
+.. option:: -D <directory>, --data-dir <directory>
+
+ Set an alternate data directory.
+
+ Default: */var/lib/suricata*
+
+.. option:: -c <filename>, --config <filename>
+
+ Path to the suricata-update config file.
+
+ Default: */etc/suricata/update.yaml*
+
.. option:: -q, --quiet
Run quietly. Only warning and error messages will be displayed.
The ``disable-source`` command disables a currently enabled
source. The configuration for the source is not removed, allowing it
to be re-enabled without having to re-enter any required parameters.
+
+Options
+=======
+
+.. include:: ./common-options.rst
This will prevent the prompt for the et/pro secret code using the
value provided on the command line instead.
+
+Options
+=======
+
+.. include:: ./common-options.rst
Remove a source configuration. This removes the source file from
``/var/lib/suricata/update/sources``, even if its disabled.
+
+Options
+=======
+
+.. include:: ./common-options.rst
Options
=======
-.. option:: -h, --help
-
- Show help.
-
-.. option:: -c <filename>, --config <filename>
-
- Path to the suricata-update config file.
-
- Default: */etc/suricata/update.yaml*
+.. include:: ./common-options.rst
.. option:: -o, --output
Display the version of **suricata-update**.
-.. include:: ./common-options.rst
-
Rule Matching
=============