Pruning of revisions retention command

I am confused by the pruning -keep commands.

I am doing daily backups.

I want the following retention of revisions:
Daily for 30 days
Monthly for 12 months
Annually forever

Would the command be this?:
-keep 365:365 -keep 30:30 -keep 1:1 -a

Thanks

Yes