(self)
return op
entry [options] username [password]
entry [options] username [password]
entry [ options ] username [ password ]
def _entry_op(self):
        'entry [options] username [password]'
        from optparse import OptionParser
        op = OptionParser(usage=self._entry_op.__doc__,add_help_option=False)
        op.add_option('-p','--path',type='string',default='/',
                      help='Set folder path in which to store this entry')
        op.add_option('-t','--title',type='string',default="",
                      help='Set the title for the entry, defaults to username')
        op.add_option('-u','--url',type='string',default="",
                      help='Set a URL for the entry')
        op.add_option('-n','--note',type='string',default="",
                      help='Set a note for the entry')
        op.add_option('-i','--imageid',type='int',default=1,
                      help='Set the image ID number for the entry')
        op.add_option('-a','--append',action='store_true',default=False,
                      help='The entry will be appended instead of overriding matching entry')
        return op
def _entry_op ( self ) : from optparse import OptionParser op = OptionParser ( usage = self . _entry_op . __doc__ , add_help_option = False ) op . add_option ( '-p' , '--path' , type = 'string' , default = '/' , help = 'Set folder path in which to store this entry' ) op . add_option ( '-t' , '--title' , type = 'string' , default = "" , help = 'Set the title for the entry, defaults to username' ) op . add_option ( '-u' , '--url' , type = 'string' , default = "" , help = 'Set a URL for the entry' ) op . add_option ( '-n' , '--note' , type = 'string' , default = "" , help = 'Set a note for the entry' ) op . add_option ( '-i' , '--imageid' , type = 'int' , default = 1 , help = 'Set the image ID number for the entry' ) op . add_option ( '-a' , '--append' , action = 'store_true' , default = False , help = 'The entry will be appended instead of overriding matching entry' ) return op