Skip to content

Commit b7326cc

Browse files
committed
docs(@angular/cli): fix a few documentation inconsistencies
1 parent 9b52253 commit b7326cc

File tree

15 files changed

+19
-22
lines changed

15 files changed

+19
-22
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/build.md

-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
7575

7676
`--dev` Build target and environment to development.
7777

78-
`--output-path` (`-op`) path where output will be placed
79-
8078
`--environment` (`-e`) Defines the build environment.
8179

8280
`--extract-css` (`-ec`) Extract css from global styles onto css files instead of js ones.

docs/documentation/config.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
`ng set [key]=[value]` Set a value in the configuration.
1616

1717
## Options
18-
`--global` Set the value in the global configuration rather than in your project's.
18+
`--global` Set the value in the global configuration rather than in your project's.

docs/documentation/e2e.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ End-to-end tests are run via [Protractor](https://angular.github.io/protractor/)
2222

2323
`--specs` Override specs in the protractor config. Can send in multiple specs by repeating flag (ng e2e --specs=spec1.ts --specs=spec2.ts).
2424

25-
`--webdriver-update` (`-wu`) (Default: true) Try to update webdriver.
25+
`--webdriver-update` (`-wu`) (Default: true) Try to update webdriver.

docs/documentation/generate/component.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010

1111
`--change-detection` (`-cd`) Specifies the change detection strategy.
1212

13-
`--flat` Flag to indicate if a dir is created.
14-
1513
`--export` Specifies if declaring module exports the component.
1614

15+
`--flat` Flag to indicate if a dir is created.
16+
1717
`--inline-style` (`-is`) Specifies if the style will be in the ts file.
1818

1919
`--inline-template` (`-it`) Specifies if the template will be in the ts file.
@@ -26,4 +26,4 @@
2626

2727
`--spec` Specifies if a spec file is generated.
2828

29-
`--view-encapsulation` (`-ve`) Specifies the view encapsulation strategy.
29+
`--view-encapsulation` (`-ve`) Specifies the view encapsulation strategy.

docs/documentation/generate/guard.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88

99
`--flat` Indicate if a dir is created.
1010

11-
`--module` (`-m`) Allows specification of the declaring module.
11+
`--module` (`-m`) Specifies where the guard should be provided.
1212

13-
`--spec` Specifies if a spec file is generated.
13+
`--spec` Specifies if a spec file is generated.

docs/documentation/generate/pipe.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616

1717
`--skip-import` Allows for skipping the module import.
1818

19-
`--spec` Specifies if a spec file is generated.
19+
`--spec` Specifies if a spec file is generated.

docs/documentation/generate/service.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010

1111
`--flat` Flag to indicate if a dir is created.
1212

13-
`--module` (`-m`) Allows you to specify the module where the service should be provided
13+
`--module` (`-m`) Specifies where the service should be provided.
1414

1515
`--spec` Specifies if a spec file is generated.

docs/documentation/lint.md

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
`ng lint` will lint you app code using tslint.
77

88
## Options
9-
109
`--fix` Fixes linting errors (may overwrite linted files).
1110

1211
`--force` Succeeds even if there was linting errors.

docs/documentation/new.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ Default applications are created in a directory of the same name, with an initia
3636

3737
`--style` The style file default extension.
3838

39-
`--verbose` Adds more details to output logging.
39+
`--verbose` Adds more details to output logging.

docs/documentation/serve.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ All the build Options are available in serve, below are the additional options.
2727
`--ssl-key` SSL key to use for serving HTTPS.
2828

2929
## Note
30-
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.
30+
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/test.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ You can run tests with coverage via `--code-coverage`. The coverage report will
4040

4141
`--sourcemap` Output sourcemaps.
4242

43-
`--watch` (`-w`) Run build when files change.
43+
`--watch` (`-w`) Run build when files change.

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)