Skip to content

Commit c936cd1

Browse files
committed
docs: clarify DO_NOT_TRACK values for GitHub CLI telemetry opt-out
DO_NOT_TRACK only disables telemetry when set to 1 or true, unlike GH_TELEMETRY which accepts any falsy value.
1 parent 27965d1 commit c936cd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎content/github-cli/github-cli/github-cli-telemetry.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ You can opt out of the telemetry you see in the `log` mode described above using
105105
export GH_TELEMETRY=false
106106
```
107107

108-
Any falsy value works: `0`, `false`, `disabled`, or an empty string. You can also use the `DO_NOT_TRACK` convention:
108+
Any falsy value works: `0`, `false`, `disabled`, or an empty string. You can also use the `DO_NOT_TRACK` convention. Unlike `GH_TELEMETRY`, `DO_NOT_TRACK` only disables telemetry when set to `1` or `true`. Other values, such as `yes` or `enabled`, have no effect.
109109

110110
```shell
111111
export DO_NOT_TRACK=true

0 commit comments

Comments
 (0)