[parted-devel] [PATCH] Add autofix: Automatically "Fix" in script mode

Brian C. Lane bcl at redhat.com
Fri Dec 11 19:51:30 GMT 2020


This also needs a few more things to work correctly:

 * Add 'f' to the getopt_long option string in _parse_options
 * Add it to the usage output string at the end of _parse_options

Currently the option character needs to match the first character of the
long option due to print_options_help making assumptions. Changing the
option to --fix also solves this :)

Thanks,

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart




More information about the parted-devel mailing list