View | Details | Raw Unified | Return to bug 31768
Collapse All | Expand All

(-)a/branches/ucs-3.2/ucs-3.2-0/management/univention-directory-manager-modules/modules/univention/admincli/admin.py (-14 / +3 lines)
 Lines 76-99   def usage(): Link Here 
76
	out.append('')
76
	out.append('')
77
	out.append('general options:')
77
	out.append('general options:')
78
	out.append('  --%-30s %s' % ('logfile', 'path and name of the logfile to be used'))
78
	out.append('  --%-30s %s' % ('logfile', 'path and name of the logfile to be used'))
79
	out.append('')
80
	out.append('create options:')
81
	out.append('  --%-30s %s' % ('binddn', 'bind DN'))
79
	out.append('  --%-30s %s' % ('binddn', 'bind DN'))
82
	out.append('  --%-30s %s' % ('bindpwd', 'bind password'))
80
	out.append('  --%-30s %s' % ('bindpwd', 'bind password'))
83
	out.append('  --%-30s %s' % ('bindpwdfile', 'file containing bind password'))
81
	out.append('  --%-30s %s' % ('bindpwdfile', 'file containing bind password'))
82
	out.append('  --%-30s %s' % ('tls', '0 (no); 1 (try); 2 (must)'))
83
	out.append('')
84
	out.append('create options:')
84
	out.append('  --%-30s %s' % ('position', 'Set position in tree'))
85
	out.append('  --%-30s %s' % ('position', 'Set position in tree'))
85
	out.append('  --%-30s %s' % ('set', 'Set variable to value, e.g. foo=bar'))
86
	out.append('  --%-30s %s' % ('set', 'Set variable to value, e.g. foo=bar'))
86
	out.append('  --%-30s %s' % ('superordinate', 'Use superordinate module'))
87
	out.append('  --%-30s %s' % ('superordinate', 'Use superordinate module'))
87
	out.append('  --%-30s %s' % ('option', 'Use only given module options'))
88
	out.append('  --%-30s %s' % ('option', 'Use only given module options'))
88
	out.append('  --%-30s %s' % ('customattribute', 'Set custom attribute foo=bar'))
89
	out.append('  --%-30s %s' % ('customattribute', 'Set custom attribute foo=bar'))
89
	out.append('  --%-30s %s' % ('policy-reference', 'Reference to policy given by DN'))
90
	out.append('  --%-30s %s' % ('policy-reference', 'Reference to policy given by DN'))
90
	out.append('  --%-30s %s' % ('tls', '0 (no); 1 (try); 2 (must)'))
91
	out.append('  --%-30s   ' % ('ignore_exists'))
91
	out.append('  --%-30s   ' % ('ignore_exists'))
92
	out.append('')
92
	out.append('')
93
	out.append('modify options:')
93
	out.append('modify options:')
94
	out.append('  --%-30s %s' % ('binddn', 'bind DN'))
95
	out.append('  --%-30s %s' % ('bindpwd', 'bind password'))
96
	out.append('  --%-30s %s' % ('bindpwdfile', 'file containing bind password'))
97
	out.append('  --%-30s %s' % ('dn', 'Edit object with DN'))
94
	out.append('  --%-30s %s' % ('dn', 'Edit object with DN'))
98
	out.append('  --%-30s %s' % ('arg', 'Edit object with ARG'))
95
	out.append('  --%-30s %s' % ('arg', 'Edit object with ARG'))
99
	out.append('  --%-30s %s' % ('set', 'Set variable to value, e.g. foo=bar'))
96
	out.append('  --%-30s %s' % ('set', 'Set variable to value, e.g. foo=bar'))
 Lines 105-121   def usage(): Link Here 
105
	out.append('  --%-30s %s' % ('customattribute-remove', 'Remove custom attribute'))
102
	out.append('  --%-30s %s' % ('customattribute-remove', 'Remove custom attribute'))
106
	out.append('  --%-30s %s' % ('policy-reference', 'Reference to policy given by DN'))
103
	out.append('  --%-30s %s' % ('policy-reference', 'Reference to policy given by DN'))
107
	out.append('  --%-30s %s' % ('policy-dereference', 'Remove reference to policy given by DN'))
104
	out.append('  --%-30s %s' % ('policy-dereference', 'Remove reference to policy given by DN'))
108
	out.append('  --%-30s %s' % ('tls', '0 (no); 1 (try); 2 (must)'))
109
	out.append('')
105
	out.append('')
110
	out.append('remove options:')
106
	out.append('remove options:')
111
	out.append('  --%-30s %s' % ('binddn', 'bind DN'))
112
	out.append('  --%-30s %s' % ('bindpwd', 'bind password'))
113
	out.append('  --%-30s %s' % ('bindpwdfile', 'file containing bind password'))
114
	out.append('  --%-30s %s' % ('dn', 'Remove object with DN'))
107
	out.append('  --%-30s %s' % ('dn', 'Remove object with DN'))
115
	out.append('  --%-30s %s' % ('superordinate', 'Use superordinate module'))
108
	out.append('  --%-30s %s' % ('superordinate', 'Use superordinate module'))
116
	out.append('  --%-30s %s' % ('arg', 'Remove object with ARG'))
109
	out.append('  --%-30s %s' % ('arg', 'Remove object with ARG'))
117
	out.append('  --%-30s %s' % ('filter', 'Lookup filter e.g. foo=bar'))
110
	out.append('  --%-30s %s' % ('filter', 'Lookup filter e.g. foo=bar'))
118
	out.append('  --%-30s %s' % ('tls', '0 (no); 1 (try); 2 (must)'))
119
	out.append('  --%-30s %s' % ('remove_referring', 'remove referring objects'))
111
	out.append('  --%-30s %s' % ('remove_referring', 'remove referring objects'))
120
	out.append('')
112
	out.append('')
121
	out.append('list options:')
113
	out.append('list options:')
 Lines 124-132   def usage(): Link Here 
124
	out.append('    %-30s %s' % ('', '0:short, 1:long (with policy-DN)'))
116
	out.append('    %-30s %s' % ('', '0:short, 1:long (with policy-DN)'))
125
	out.append('')
117
	out.append('')
126
	out.append('move options:')
118
	out.append('move options:')
127
	out.append('  --%-30s %s' % ('binddn', 'bind DN'))
128
	out.append('  --%-30s %s' % ('bindpwd', 'bind password'))
129
	out.append('  --%-30s %s' % ('bindpwdfile', 'file containing bind password'))
130
	out.append('  --%-30s %s' % ('dn', 'Move object with DN'))
119
	out.append('  --%-30s %s' % ('dn', 'Move object with DN'))
131
	out.append('  --%-30s %s' % ('position', 'Move to position in tree'))
120
	out.append('  --%-30s %s' % ('position', 'Move to position in tree'))
132
	out.append('')
121
	out.append('')

Return to bug 31768