all repos — openbox @ 178fdf254d35c7af40ee5f09e7ade9d2fcdc5ec5

openbox fork - make it a bit more like ryudo

choke on invalid options on the cmd line
Dana Jansens danakj@orodu.net
commit

178fdf254d35c7af40ee5f09e7ade9d2fcdc5ec5

parent

94d871a390d1892a5fdf00e2ba87b5145dfe6a86

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M openbox/openbox.copenbox/openbox.c

@@ -271,6 +271,10 @@ if (i == argc - 1) /* no args left */

g_printerr("-rc requires an argument\n"); else ob_rc_path = argv[++i]; + } else { + g_printerr("Invalid option: '%s'\n\n", argv[i]); + print_help(); + exit(1); } } }