Skip to content

Commit 3cb203e

Browse files
authored
Clarify CLI text for timeout (#23737)
1 parent 9c59348 commit 3cb203e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

content/codespaces/customizing-your-codespace/setting-your-timeout-period-for-codespaces.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ A codespace will stop running after a period of inactivity. You can specify the
1818

1919
{% endwarning %}
2020

21-
## Setting your default timeout
22-
2321
{% include tool-switcher %}
2422

2523
{% webui %}
2624

25+
## Setting your default timeout
26+
2727
{% data reusables.user_settings.access_settings %}
2828
{% data reusables.user_settings.codespaces-tab %}
2929
1. Under "Default idle timeout", enter the time that you want, then click **Save**. The time must be between 5 minutes and 240 minutes (4 hours).
@@ -33,14 +33,16 @@ A codespace will stop running after a period of inactivity. You can specify the
3333

3434
{% cli %}
3535

36+
## Setting your timeout period
37+
3638
{% data reusables.cli.cli-learn-more %}
3739

38-
To set the timeout period, use the `idle-timeout` argument with the `codespace create` subcommand. Specify the time in minutes, followed by `m`. The time must be between 5 minutes and 240 minutes (5 hours).
40+
To set the timeout period when you create a codespace, use the `idle-timeout` argument with the `codespace create` subcommand. Specify the time in minutes, followed by `m`. The time must be between 5 minutes and 240 minutes (4 hours).
3941

4042
```shell
4143
gh codespace create --idle-timeout 90m
4244
```
4345

44-
If you do not specify a timeout period when creating a codespace, then your default timeout period will be used. You cannot currently specify a default timeout period for all future codespaces through {% data variables.product.prodname_cli %}.
46+
If you don't specify a timeout period when you create a codespace, then the default timeout period will be used. For information about setting a default timeout period, click the "Web browser" tab on this page. You can't currently specify a default timeout period through {% data variables.product.prodname_cli %}.
4547

4648
{% endcli %}

0 commit comments

Comments
 (0)