Update CLI help to document usage of --end-user-email flag (#19959)

This commit is contained in:
Sarah Gillespie 2024-06-24 15:13:04 -05:00 committed by GitHub
parent 566cc38e93
commit 7b4b9cb858
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -231,8 +231,7 @@ func packageCommand() *cli.Command {
},
&cli.StringFlag{
Name: "end-user-email",
Hidden: true, // experimental feature, we don't want to show it for now
Usage: "Sets the email address of the user associated with the host when enrolling to Fleet. (requires Fleet >= v4.43.0)",
Usage: "End user's email that populates human to host mapping in Fleet (only available on Windows and Linux)",
EnvVars: []string{"FLEETCTL_END_USER_EMAIL"},
Destination: &opt.EndUserEmail,
},