Skip to content

Commit 2778b37

Browse files
committed
docs: update command option
1 parent 5dcad2c commit 2778b37

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/dbmgmt/migration.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,13 @@ You can use (migrate) with the following options:
199199

200200
- ``-g`` - to chose database group, otherwise default database group will be used.
201201
- ``-n`` - to choose namespace, otherwise (App) namespace will be used.
202-
- ``-all`` - to migrate all namespaces to the latest migration
202+
- ``--all`` - to migrate all namespaces to the latest migration
203203

204204
This example will migrate Blog namespace with any new migrations on the test database group::
205205

206206
> php spark migrate -g test -n Blog
207207

208-
When using the ``-all`` option, it will scan through all namespaces attempting to find any migrations that have
208+
When using the ``--all`` option, it will scan through all namespaces attempting to find any migrations that have
209209
not been run. These will all be collected and then sorted as a group by date created. This should help
210210
to minimize any potential conflicts between the main application and any modules.
211211

@@ -231,7 +231,7 @@ You can use (refresh) with the following options:
231231

232232
- ``-g`` - to choose database group, otherwise default database group will be used.
233233
- ``-n`` - to choose namespace, otherwise (App) namespace will be used.
234-
- ``-all`` - to refresh all namespaces
234+
- ``--all`` - to refresh all namespaces
235235
- ``-f`` - to force a bypass confirmation question, it is only asked in a production environment
236236

237237
**status**

0 commit comments

Comments
 (0)