ref: 5a4e79fa44527edb71014bfe0873d2e492c55d96
parent: 826bed3288f8f8a30cc0005acc431094888cfb49
author: cancel <cancel@cancel.fm>
date: Tue Dec 4 07:02:57 EST 2018
Change to return 0 on -h/--help
--- a/cli_main.c
+++ b/cli_main.c
@@ -42,7 +42,7 @@
break;
case 'h':
usage();
- return 1;
+ return 0;
case '?':
usage();
return 1;
--- a/tui_main.c
+++ b/tui_main.c
@@ -368,7 +368,7 @@
switch (c) {
case 'h':
usage();
- return 1;
+ return 0;
case Argopt_margins:
margin_thickness = atoi(optarg);
if (margin_thickness == 0 && strcmp(optarg, "0")) {