<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
<br></div>
Sorry, I didn't follow your example. Can you explain what you mean in English? What would be the outcome if you succeeded?<br>
What could the user do and not do?</blockquote><div><br></div><div>The idea is to use two groups of parameters. The user can use only one group of parameters. </div><div><br></div><div>For example say I have a the script with called myscript.py which can take two groups of options</div>
<div><br></div><div>group1</div><div>    option1a</div><div>    option1b</div><div>    option1c</div><div>group2</div><div>    option2a</div><div>    option2b</div><div>    otpion2c</div><div><br></div><div>I can run this script only with the following options</div>
<div><br></div><div>myscript.py --option1a --option1b --option1c  </div><div>or</div><div>myscript.py --option2a --option2b --option2c</div><div><br></div><div>I cannot run run a script with the following options</div><div>
myscript --option1a --option2a</div><div><br></div><div>So it is similar to having mutually exclusive options, however this is sort of on a larger scale. Instead of having mutually exclusive options, we would have mutually exclusive sets of options. </div>
<div><br></div><div>Let me know if it didn't clarify the details. I will try to come up with a better explanation.</div></div></div></div>