Skip to content

Commit 8d7ebee

Browse files
Merge pull request #3504 from NativeScript/vladimirov/fix-helop
docs: Fix the help of `tns generate splashes` command
2 parents 7ad017d + 88dde98 commit 8d7ebee

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/man_pages/project/configuration/resources/resources-generate-splashes.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ position: 12
66

77
Usage | Synopsis
88
------|-------
9-
`$ tns resources generate splashes <Path to image> [<background>]` | Generate all splashscreens for Android and iOS based on the specified image.
9+
`$ tns resources generate splashes <Path to image> [--background <Color>]` | Generate all splashscreens for Android and iOS based on the specified image.
1010

11-
Generates all icons for Android and iOS platforms and places the generated images in the correct directories under `App_Resources/<platform>` directory.
11+
Generates all splashscreens for Android and iOS platforms and places the generated images in the correct directories under `App_Resources/<platform>` directory.
12+
13+
### Options
14+
* `--background` Sets the background color of the splashscreen. Defaults to white in case it is not specified.
1215

1316
### Attributes
1417
* `<Path to image>` is a valid path to an image that will be used to generate all splashscreens.
15-
* `<background>` is a valid path to an image that will be used as a background of the splashscreen. Defaults to white in case it is not specified.
18+
* `<Color>` is a valid color. It can be represented with string, like `white`, `black`, `blue`, etc. or its HEX representation, for example `#FFFFFF`, `#000000`, `#0000FF`. NOTE: As the `#` is special symbol in some terminals, make sure to place the value in quotes, for example `$ tns resources generate splashes ../myImage.png --background "#FF00FF"`.
1619

1720
<% if(isHtml) { %>
1821
### Related Commands

0 commit comments

Comments
 (0)