aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 8ed128c..ffa5ab4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -28,9 +28,11 @@ int main(int argc, char *argv[]) {
print_usage(argv[0]);
return EXIT_FAILURE;
}
- linebuffer_capacity= (size_t) width;
+ linebuffer_capacity = (size_t) width;
break;
case 'h':
+ print_usage(argv[0]);
+ return EXIT_SUCCESS;
default:
print_usage(argv[0]);
return EXIT_FAILURE;