summaryrefslogtreecommitdiff
path: root/morphlib/plugins
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-10-31 10:26:55 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-10-31 10:26:55 +0000
commit3e5be4e232d5f0e9d5a9690560a1f0ee689745ca (patch)
treedd496f464d429dca00c0db4163ae9217d9aa58a4 /morphlib/plugins
parent17bd68f0dc622d3c6c508d366c8fa5fc00b9790b (diff)
downloadmorph-3e5be4e232d5f0e9d5a9690560a1f0ee689745ca.tar.gz
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.
Diffstat (limited to 'morphlib/plugins')
-rw-r--r--morphlib/plugins/syslinux-disk-systembuilder_plugin.py3
1 files changed, 2 insertions, 1 deletions
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):