Passing volume arguments to docker compose command

Hello,
I am looking to pass the volume as arguments from the command line to be used in docker compose file. Could someone please suggest the correct syntax for it and how could this be done.

This is what i am needing to pass to the command line:
docker-compose up --build volume-args