Skip to content

Commit 2a3269b

Browse files
committed
Updated help documentation of cordova commands to ensure that <PLATFORM> is the first option.
1 parent c0b7b53 commit 2a3269b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

lib/ionic/build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ var settings = {
1212
name: 'build',
1313
summary: 'Build (prepare + compile) an Ionic project for a given platform.\n',
1414
args: {
15-
'[options]': '',
16-
'<PLATFORM>': ''
15+
'<PLATFORM>': '',
16+
'[options]': ''
1717
},
1818
options: {
1919
'--nohooks|-n': {

lib/ionic/emulate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ var settings = {
3232
name: 'emulate',
3333
summary: 'Emulate an Ionic project on a simulator or emulator',
3434
args: {
35-
'[options]': '',
36-
'<PLATFORM>': ''
35+
'<PLATFORM>': '',
36+
'[options]': ''
3737
},
3838
options: cordovaRunEmulateOptions,
3939
isProjectTask: true

lib/ionic/platform.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ var settings = {
1313
name: 'platform',
1414
summary: 'Add platform target for building an Ionic app',
1515
args: {
16-
'[options]': '',
17-
'<PLATFORM>': ''
16+
'<PLATFORM>': '',
17+
'[options]': ''
1818
},
1919
options: {
2020
'--noresources|-r': {

lib/ionic/run.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ var settings = {
3232
name: 'run',
3333
summary: 'Run an Ionic project on a connected device',
3434
args: {
35-
'[options]': '',
36-
'<PLATFORM>': ''
35+
'<PLATFORM>': '',
36+
'[options]': ''
3737
},
3838
options: cordovaRunEmulateOptions,
3939
isProjectTask: true

0 commit comments

Comments
 (0)