Red Hat Bugzilla – Bug 21312
Mysterious rhn_check offers no help.
Last modified: 2015-01-07 18:42:40 EST
No clue what rhn_check does since up2date doesn't include an ounce of
documentation, but it gives nice python errors when you run it with --help
[root@respect /root]# rhn_check -help
Traceback (innermost last):
File "/usr/sbin/rhn_check", line 370, in ?
File "/usr/lib/python1.5/getopt.py", line 60, in getopt
opts, args = do_shorts(opts, args[1:], shortopts, args[1:])
File "/usr/lib/python1.5/getopt.py", line 102, in do_shorts
if short_has_arg(opt, shortopts):
File "/usr/lib/python1.5/getopt.py", line 117, in short_has_arg
raise error, 'option -%s not recognized' % opt
getopt.error: option -h not recognized
Cristian, you should document this.
Assigned QA to jturner
Current versions of up2date include man pages for all the utilities
that are meant to be ran by a user. The next version also includes
man pages for rhn_check