Skip to content

Commit

Permalink
fix(command-deploy): update alias description (#2872)
Browse files Browse the repository at this point in the history
* docs: Updated alias description

* fix(command-deploy): update alias description

Co-authored-by: erezrokah <erezrokah@users.noreply.github.com>
  • Loading branch information
rstavchansky and erezrokah authored Jul 8, 2021
1 parent 259dd5f commit 172c955
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/commands/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ netlify deploy
- `functions` (*string*) - Specify a functions folder to deploy
- `prod` (*boolean*) - Deploy to production
- `prodIfUnlocked` (*boolean*) - Deploy to production if unlocked, create a draft otherwise
- `alias` (*string*) - Specifies the alias for deployment. Useful for creating predictable deployment URLs. Maximum 37 characters.
- `alias` (*string*) - Specifies the alias for deployment, the string at the beginning of the deploy subdomain. Useful for creating predictable deployment URLs. Avoid setting an alias string to the same value as a deployed branch. `alias` doesn’t create a branch deploy and can’t be used in conjunction with the branch subdomain feature. Maximum 37 characters.
- `branch` (*string*) - Serves the same functionality as --alias. Deprecated and will be removed in future versions
- `open` (*boolean*) - Open site after deploy
- `message` (*string*) - A short message to include in the deploy log
Expand Down
2 changes: 1 addition & 1 deletion src/commands/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ DeployCommand.flags = {
}),
alias: flagsLib.string({
description:
'Specifies the alias for deployment. Useful for creating predictable deployment URLs. Maximum 37 characters.',
'Specifies the alias for deployment, the string at the beginning of the deploy subdomain. Useful for creating predictable deployment URLs. Avoid setting an alias string to the same value as a deployed branch. `alias` doesn’t create a branch deploy and can’t be used in conjunction with the branch subdomain feature. Maximum 37 characters.',
}),
branch: flagsLib.string({
char: 'b',
Expand Down

1 comment on commit 172c955

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 330 MB

Please sign in to comment.