diff --git a/event_rpcgen.py b/event_rpcgen.py index 4ec20bd0..64c81de5 100755 --- a/event_rpcgen.py +++ b/event_rpcgen.py @@ -1627,6 +1627,11 @@ class Usage(RpcGenError): class CommandLine: def __init__(self, argv): + """Initialize a command-line to launch event_rpcgen, as if + from a command-line with CommandLine(sys.argv). If you're + calling this directly, remember to provide a dummy value + for sys.argv[0] + """ self.filename = None self.header_file = None self.impl_file = None