On Mon, Apr 19, 2021, Loris Bennett wrote:
>Hi,
>
>I have various small programs which tend to have an interface like the
>following example:
>
> usage: grocli [-h] [-o {check,add,delete}] [-u USERS [USERS ...]] [-g GROUP]
I would do this with the action is first argument.
Usage: grocli check|add|delete [-u USERS ...]
Bill
--
INTERNET: [email protected] Bill Campbell; Celestial Software LLC
URL: http://www2.celestial.com/ 6641 E. Mercer Way
Mobile: (206) 947-5591 PO Box 820
Fax: (206) 232-9186 Mercer Island, WA 98040-0820
Force always attracts men of low morality. -- Albert Einstein
--
https://mail.python.org/mailman/listinfo/python-list