]> git.scottworley.com Git - overonion/blob - reverse.c
Whitespace: Single-line error checks
[overonion] / reverse.c
1 #include "reverse_lib.h"
2
3 #include <err.h>
4 #include <sysexits.h>
5
6 int main(int argc, char** argv) {
7 if (argc != 2) {
8 errx(EX_USAGE, "Usage: reverse filename");
9 }
10
11 reverse_file(argv[1], 1);
12
13 return 0;
14 }