From 3e5be4e232d5f0e9d5a9690560a1f0ee689745ca Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Wed, 31 Oct 2012 10:26:55 +0000 Subject: Set option group for some advanced settings It would be nice to put every option in a group, but for now the built-in cliapp options cannot be grouped so the output is less than ideal. Also, we have no way of setting an order for groups, which results in e.g. 'Advanced Options' preceeding 'General Options' etc. --- morphlib/plugins/syslinux-disk-systembuilder_plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'morphlib/plugins') diff --git a/morphlib/plugins/syslinux-disk-systembuilder_plugin.py b/morphlib/plugins/syslinux-disk-systembuilder_plugin.py index cd734e29..cc47389c 100644 --- a/morphlib/plugins/syslinux-disk-systembuilder_plugin.py +++ b/morphlib/plugins/syslinux-disk-systembuilder_plugin.py @@ -91,7 +91,8 @@ class SyslinuxDiskBuilderPlugin(cliapp.Plugin): ['syslinux-mbr-search-paths'], 'A list of files to search for to use as the syslinux mbr', default=['/usr/lib/extlinux/mbr.bin', - '/usr/share/syslinux/mbr.bin']) + '/usr/share/syslinux/mbr.bin'], + group='Build Options') self.app.system_kind_builder_factory.register(SyslinuxDiskBuilder) def disable(self): -- cgit v1.2.1