How can I solve this type of error?
Asked
Active
Viewed 76 times
0

patricus
- 59,488
- 15
- 143
- 145

Nazmus Shakib
- 19
- 5
-
What command you are running? – Sougata Bose Mar 28 '16 at 08:46
-
Please post actual command and output instead of screenshots. [See here](http://meta.stackoverflow.com/a/285557/1402846) for details. Thank you. – Pang Mar 29 '16 at 05:00
-
Change `-create` to `--create`. It should be double dashed. – krisanalfa Mar 31 '16 at 05:31
1 Answers
1
Change command to:
php artisan make:migration create_books_table --create=books
Command thinks that you're trying to pass two arguments. You should use --create
, as an option:
https://laravel.com/docs/5.1/migrations#generating-migrations

Alexey Mezenin
- 158,981
- 26
- 290
- 279