subharb
subharb

Reputation: 3472

Too many arguments on symlink Symfony

Im following the Book of Symfony and when I try to create a symlink between the assets of a bundle and I execute:

 php app/console assets:install target [--symlink]

I get:

 [RuntimeException]   
 Too many arguments.  
 assets:install [--symlink] target

Why is this happening? Im copying the command from the book, and my app is too small, I havent done any big changes.

Upvotes: 1

Views: 5265

Answers (1)

René Höhle
René Höhle

Reputation: 27295

Your command it not correct.

The [--symlink] it optional this is why its in the brakets. The target means the target where the folder should go to.

So you can try:

php app/console assets:install web
php app/console assets:install web --symlink

for example. Then you install the assets to web.

Upvotes: 4

Related Questions