Browse Source

Better wrapping of help screen

Manually wrap the --help message to 79 characters.
pull/4/head
George Vlahavas 9 years ago
parent
commit
99ed4c4da1
  1. 10
      src/xdgmenumaker

10
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.'

Loading…
Cancel
Save