Skip to content

Commit

Permalink
Update commands.asciidoc (#2093) (#2096)
Browse files Browse the repository at this point in the history
* Update commands.asciidoc

the "non-interactive" flag was never documented.

* Update commands.asciidoc

* Apply suggestions from code review

Co-authored-by: DeDe Morton <[email protected]>

Co-authored-by: DeDe Morton <[email protected]>

Co-authored-by: nima <[email protected]>
  • Loading branch information
dedemorton and nimarezainia authored Aug 18, 2022
1 parent 436b29e commit 831aea0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/en/ingest-management/commands.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ elastic-agent enroll --url <string>
[--certificate-authorities <string>]
[--delay-enroll]
[--force]
[--non-interactive]
[--help]
[--insecure ]
[--tag <string>]
Expand All @@ -193,6 +194,7 @@ elastic-agent enroll --fleet-server-es <string>
[--fleet-server-policy <string>]
[--fleet-server-port <uint16>]
[--force]
[--non-interactive]
[--help]
[--tag <string>]
[--url <string>] <3>
Expand Down Expand Up @@ -282,6 +284,14 @@ Service token to use for communication with {es}.
Force overwrite of current configuration without prompting for confirmation.
This flag is helpful when using automation software or scripted deployments.

Note: if the {agent} is already installed on the host, using --force may result in
unpredictable behaviour with duplicate {agent}s appearing in {fleet}

`--non-interactive`::
Install {agent} in a non-interactive mode. This flag is helpful when
using automation software or scripted deployments. If {agent} is
already installed on the host, the installation will terminate.

`--help`::
Show help for the `enroll` command.

Expand Down

0 comments on commit 831aea0

Please sign in to comment.