diff options
author | Chris Lumens <clumens@redhat.com> | 2006-05-04 17:39:09 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-05-04 17:39:09 +0000 |
commit | b0f8d7de78cf598eb948965276d9daed9d35627d (patch) | |
tree | 2236d4126ad8446e080b23d78a9b12a58c811adf /anaconda | |
parent | ebf11a81e1bed1f826344cd41ab338cfc97cc72f (diff) | |
download | anaconda-b0f8d7de78cf598eb948965276d9daed9d35627d.tar.gz anaconda-b0f8d7de78cf598eb948965276d9daed9d35627d.tar.xz anaconda-b0f8d7de78cf598eb948965276d9daed9d35627d.zip |
Fix callback options.
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -198,7 +198,7 @@ def parseOptions(): op.add_option("-m", "--method", default=None) op.add_option("--rescue", dest="progmode", action="store_const", const="rescue", default="install") op.add_option("-r", "--rootpath", action="callback", callback=rootpath_cb, dest="rootPath", - default="/mnt/sysimage", nargs=1) + default="/mnt/sysimage", nargs=1, type="string") op.add_option("-t", "--test", action="store_true", default=False) # Display @@ -206,7 +206,7 @@ def parseOptions(): op.add_option("--lowres", dest="resolution", action="store_const", const="640x480") op.add_option("--nofb") op.add_option("--resolution", action="callback", callback=resolution_cb, dest="runres", - default="800x600", nargs=1) + default="800x600", nargs=1, type="string") op.add_option("--serial", action="store_true", default=False) op.add_option("--skipddc", action="store_true", default=False) op.add_option("--usefbx", dest="useFBX", action="store_true", default=False) |