From 99ed4c4da19c50bb900b8f3acbc46de5de573eb1 Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Sat, 15 Aug 2015 02:10:35 +0300 Subject: [PATCH] Better wrapping of help screen Manually wrap the --help message to 79 characters. --- src/xdgmenumaker | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/xdgmenumaker b/src/xdgmenumaker index 7dabf6a..39d95a2 100755 --- a/src/xdgmenumaker +++ b/src/xdgmenumaker @@ -120,10 +120,14 @@ def usage(): print 'USAGE:', os.path.basename(sys.argv[0]), '[OPTIONS]' print print 'OPTIONS:' - print ' -f, --format the output format to use. Valid options are fluxbox, icewm, jwm, windowmaker and pekwm' - print ' -i, --icons enable support for icons in the menus. Does not work with windowmaker' + print ' -f, --format the output format to use.' + print ' Valid options are fluxbox, icewm,' + print ' jwm, windowmaker and pekwm' + print ' -i, --icons enable support for icons in the' + print ' menus. Does not work with windowmaker' print ' -s, --size preferred icon size in pixels (default: 16)' - print ' -n, --no-submenu do not create a submenu. Does not work with windowmaker' + print ' -n, --no-submenu do not create a submenu. Does not work with' + print ' windowmaker' print ' --pekwm-dynamic generate dynamic menus for pekwm' print ' -h, --help show this help message' print ' You have to specify the output format using the -f switch.'