Skip to content
Commit 735152e3 authored by Enrico Granata's avatar Enrico Granata
Browse files

Add a --help (-h) option to "command script add" that enables users to define...

Add a --help (-h) option to "command script add" that enables users to define a one-liner short help for their command

Also, in case they don't define any, change the default from "Run Python function <blah>" into "For more information run help <blah>"

The core issue here is that Python only allows one docstring per function, so we can't really attach both a short and a long help to the same command easily
There are alternatives but this is not a pressing enough concern to go through the motions quite yet

Fixes rdar://18322737

llvm-svn: 217795
parent 9a78334b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment