Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@159468 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/interface/SBFileSpec.i b/scripts/Python/interface/SBFileSpec.i
index ae23c8f..07d97ba 100644
--- a/scripts/Python/interface/SBFileSpec.i
+++ b/scripts/Python/interface/SBFileSpec.i
@@ -80,16 +80,16 @@
return None
__swig_getmethods__["fullpath"] = __get_fullpath__
- if _newclass: x = property(__get_fullpath__, None)
+ if _newclass: fullpath = property(__get_fullpath__, None, doc='''A read only property that returns the fullpath as a python string.''')
__swig_getmethods__["basename"] = GetFilename
- if _newclass: x = property(GetFilename, None)
+ if _newclass: basename = property(GetFilename, None, doc='''A read only property that returns the path basename as a python string.''')
__swig_getmethods__["dirname"] = GetDirectory
- if _newclass: x = property(GetDirectory, None)
+ if _newclass: dirname = property(GetDirectory, None, doc='''A read only property that returns the path directory name as a python string.''')
__swig_getmethods__["exists"] = Exists
- if _newclass: x = property(Exists, None)
+ if _newclass: exists = property(Exists, None, doc='''A read only property that returns a boolean value that indicates if the file exists.''')
%}
};