Skip to content

Commit e037877

Browse files
delastevehansl
authored andcommitted
docs(@angular/cli): fix a few documentation inconsistencies
Close angular#5488
1 parent 500ca54 commit e037877

File tree

9 files changed

+13
-12
lines changed

9 files changed

+13
-12
lines changed

docs/documentation/_Sidebar.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
* [Angular CLI](home)
22
* [Generate](generate)
3-
* [Stories](stories)
3+
* [Stories](stories)

docs/documentation/e2e.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ End-to-end tests are run via [Protractor] (https://angular.github.io/protractor/
6262
<p>
6363
Try to update webdriver.
6464
</p>
65-
</details>
65+
</details>

docs/documentation/generate/guard.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
`--module` (alias: `-m`)
3131
</p>
3232
<p>
33+
Specifies where the guard should be provided.
3334
</p>
3435
</details>
3536

@@ -41,4 +42,4 @@
4142
<p>
4243
Specifies if a spec file is generated.
4344
</p>
44-
</details>
45+
</details>

docs/documentation/generate/service.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
`--module` (alias: `-m`)
3333
</p>
3434
<p>
35-
Allows you to specify the module where the service should be provided
35+
Specifies where the service should be provided.
3636
</p>
3737
</details>
3838

docs/documentation/new.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@ Default applications are created in a directory of the same name, with an initia
146146
<p>
147147
Adds more details to output logging.
148148
</p>
149-
</details>
149+
</details>

docs/documentation/serve.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,4 +270,4 @@ All the build Options are available in serve, below are the additional options.
270270

271271

272272
## Note
273-
When running `ng serve`, the compiled output is served from memory, not from disk. This means that the application being served is not located on disk in the `dist` folder.
273+
When running `ng serve`, the compiled output is served from memory, not from disk. This means that the application being served is not located on disk in the `dist` folder.

docs/documentation/xi18n.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
`ng xi18n` Extracts i18n messages from the templates.
77

88
## Options
9-
`--i18n-format` (`-f`) Output format for the generated file: either `xmb` or `xlf`.
9+
`--app` (`-a`) Specifies app name to use.
1010

11-
`--output-path` (`-op`) Path where output will be placed.
11+
`--i18n-format` (`-f`) Output format for the generated file: either `xmb` or `xlf`.
1212

1313
`--locale` (`-l`) Specifies the source language of the application.
1414

1515
`--outfile` (`-of`) Name of the file to output.
1616

17-
`--verbose` Adds more details to output logging.
17+
`--output-path` (`-op`) Path where output will be placed.
1818

1919
`--progress` Log progress to the console while running.
2020

21-
`--app` (`-a`) Specifies app name to use.
21+
`--verbose` Adds more details to output logging.

packages/@angular/cli/blueprints/guard/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default Blueprint.extend({
3131
name: 'module',
3232
type: String,
3333
aliases: ['m'],
34-
description: 'Allows specification of the declaring module.'
34+
description: 'Specifies where the guard should be provided.'
3535
}
3636
],
3737

packages/@angular/cli/blueprints/service/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default Blueprint.extend({
3030
{
3131
name: 'module',
3232
type: String, aliases: ['m'],
33-
description: 'Allows specification of the declaring module.'
33+
description: 'Specifies where the service should be provided.'
3434
},
3535
{
3636
name: 'app',

0 commit comments

Comments
 (0)