Skip to content

Commit

Permalink
Error in documentation: use --url instead of --server (#852)
Browse files Browse the repository at this point in the history
There must be error in documentation: no such option `--server`
```
$dstack --version
0.14.0

$dstack config --help
Usage: dstack config [-h] [--project PROJECT] [--url URL] [--token TOKEN]
                     [--default] [--remove] [--no-default]

Options:
  -h, --help         Show this help message and exit
  --project PROJECT  The name of the project to configure
  --url URL          Server url
  --token TOKEN      User token
  --default          Set the project as default. It will be used when
                     --project is omitted in commands.
  --remove           Delete project configuration
  --no-default       Do not prompt to set the project as default
```
  • Loading branch information
promsoft committed Jan 28, 2024
1 parent ed928cb commit 92bdf75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,9 @@ To configure the client on a different machine or for other projects, use [`dsta
<div class="termy">

```shell
$ dstack config --server &lt;your server adddress&gt; --project &lt;your project name&gt; --token &lt;your user token&gt;
$ dstack config --url &lt;your server adddress&gt; --project &lt;your project name&gt; --token &lt;your user token&gt;

Configurated is updated at ~/.dstack/config.yml
```

</div>
</div>

0 comments on commit 92bdf75

Please sign in to comment.