How do you make two separate sets of parameters in a function?

I am trying to create two separate sets of parameters in a function that can picked. For example.

A B1 B2 C1 C2 

I want to have “A” be mandatory while you can pick either B (or none, just not both) and either C (or none, just not both).

So the options would be

A A,B1 A,B2 A,C1 A,C2 A,B1,C1 A,B1,C2 A,B2,C1 A,B2,C2 

submitted by /u/ncstalli
[link] [comments]

Leave a Reply