On 2020-10-16 at 10:59:16 +1100,
Samuel Marks <samuelma...@gmail.com> wrote:

> --optimizer Adam,learning_rate=0.01,something_else=3
> 
> That syntax isn’t so bad! =]
> 
> How would you suggest the help text for this looks? (don’t worry about
> implementation, just what goes to stdout/stderr)

    --optimizer name[,option=value...]

Obviously, you'll have to explain that the brackets and the words option
and value are meta syntax, but you're probably already doing that for
your current meta syntax anyway.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to