@@ -15,18 +15,18 @@ def main():
1515 {'flags' : ['--no-validate' ], 'action' : 'store_false' , 'help' : 'Disable config validation.' , 'dest' : 'validate' },
1616 {'flags' : ['--hostonly' ], 'action' : 'store_true' , 'help' : 'Enable hostonly mode, required for automatic kmod detection.' },
1717 {'flags' : ['--no-hostonly' ], 'action' : 'store_false' , 'help' : 'Disable hostonly mode.' , 'dest' : 'hostonly' },
18- {'flags' : ['--lspci' ], 'action' : 'store_true' , 'help' : 'Use lspci to auto-detect kmods' , 'dest' : 'kmod_autodetect_lspci' },
19- {'flags' : ['--no-lspci' ], 'action' : 'store_false' , 'help' : 'Do not use lspci to auto-detect kmods' , 'dest' : 'kmod_autodetect_lspci' },
20- {'flags' : ['--lsmod' ], 'action' : 'store_true' , 'help' : 'Use lsmod to auto-detect kmods' , 'dest' : 'kmod_autodetect_lsmod' },
21- {'flags' : ['--no-lsmod' ], 'action' : 'store_false' , 'help' : 'Do not use lsmod to auto-detect kmods' , 'dest' : 'kmod_autodetect_lsmod' },
18+ {'flags' : ['--lspci' ], 'action' : 'store_true' , 'help' : 'Use lspci to auto-detect kmods. ' , 'dest' : 'kmod_autodetect_lspci' },
19+ {'flags' : ['--no-lspci' ], 'action' : 'store_false' , 'help' : 'Do not use lspci to auto-detect kmods. ' , 'dest' : 'kmod_autodetect_lspci' },
20+ {'flags' : ['--lsmod' ], 'action' : 'store_true' , 'help' : 'Use lsmod to auto-detect kmods. ' , 'dest' : 'kmod_autodetect_lsmod' },
21+ {'flags' : ['--no-lsmod' ], 'action' : 'store_false' , 'help' : 'Do not use lsmod to auto-detect kmods. ' , 'dest' : 'kmod_autodetect_lsmod' },
2222 {'flags' : ['--firmware' ], 'action' : 'store_true' , 'help' : 'Include firmware files found with modinfo.' , 'dest' : 'kmod_pull_firmware' },
2323 {'flags' : ['--no-firmware' ], 'action' : 'store_false' , 'help' : 'Exclude firmware files.' , 'dest' : 'kmod_pull_firmware' },
2424 {'flags' : ['--autodetect-root' ], 'action' : 'store_true' , 'help' : 'Autodetect the root partition.' },
2525 {'flags' : ['--no-autodetect-root' ], 'action' : 'store_false' , 'help' : 'Do not autodetect the root partition.' , 'dest' : 'autodetect_root' },
2626 {'flags' : ['--autodetect-root-luks' ], 'action' : 'store_true' , 'help' : 'Autodetect LUKS volumes under the root partition.' },
2727 {'flags' : ['--no-autodetect-root-luks' ], 'action' : 'store_false' , 'help' : 'Do not autodetect root LUKS volumes.' , 'dest' : 'autodetect_root_luks' },
2828 {'flags' : ['--print-config' ], 'action' : 'store_true' , 'help' : 'Print the final config dict.' },
29- {'flags' : ['out_file' ], 'action' : 'store' , 'help' : 'Output file location' , 'nargs' : '?' }]
29+ {'flags' : ['out_file' ], 'action' : 'store' , 'help' : 'Output file location. ' , 'nargs' : '?' }]
3030
3131 args , logger = get_args_n_logger (package = __package__ , description = 'MicrogRAM disk initramfs generator' , arguments = arguments , drop_default = True )
3232 kwargs = get_kwargs_from_args (args , logger = logger )
0 commit comments