Skip to content

Commit

Permalink
Adapt documentation to prevent an error with the click library (Argum…
Browse files Browse the repository at this point in the history
…ent/option parameters with hyphens are interpreted as new options).

Signed-off-by: Volker Theile <votdev@gmx.de>
  • Loading branch information
votdev committed Jun 20, 2022
1 parent 14df883 commit 79d46f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions administration/general/network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ command::

To enable or disable a service use this command::

# omv-env set OMV_XXX_ZEROCONF_ENABLED [yes|true|1|no]
# omv-env set -- OMV_XXX_ZEROCONF_ENABLED [yes|true|1|no]

Finally the modified environment variable(s) must be applied by running::

Expand All @@ -126,7 +126,7 @@ Finally the modified environment variable(s) must be applied by running::

Example::

# omv-env set OMV_PROFTPD_ZEROCONF_ENABLED no
# omv-env set -- OMV_PROFTPD_ZEROCONF_ENABLED no
# omv-salt stage run prepare
# omv-salt deploy run avahi

Expand Down
4 changes: 2 additions & 2 deletions various/advset.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Modify environment variables

To set or change these variables, run the following command::

# omv-env set <VARIABLE_NAME> <VALUE>
# omv-env set OMV_SSHD_SUBSYSTEM_SFTP "/usr/lib/openssh/sftp-server"
# omv-env set -- <VARIABLE_NAME> <VALUE>
# omv-env set -- OMV_SSHD_SUBSYSTEM_SFTP "/usr/lib/openssh/sftp-server"

The configured environment variables are located in the file :file:`/etc/default/openmediavault`.

Expand Down

0 comments on commit 79d46f2

Please sign in to comment.