From 9b303bb2f3d33f4afefed6c75dc3431e38098693 Mon Sep 17 00:00:00 2001 From: Joris van Rantwijk Date: Fri, 24 Jun 2022 15:14:51 +0200 Subject: [PATCH] Fix comments --- sortbin.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sortbin.cpp b/sortbin.cpp index 88fb770..17478c1 100644 --- a/sortbin.cpp +++ b/sortbin.cpp @@ -8,6 +8,8 @@ * The program sorts these records in lexicographic order. * * This program is optimized for short records, e.g. up to 20 bytes. + * + * Written by Joris van Rantwijk in 2022. */ @@ -1692,13 +1694,15 @@ std::string get_default_tmpdir(void) void usage() { fprintf(stderr, + "\n" + "Sort fixed-length binary records.\n" "\n" "Usage: sortbin [options] inputfile outputfile\n" "\n" "Options:\n" "\n" " -s, --size=N specify record size of N bytes (required)\n" - " -u, --unique eleminate duplicates after sorting\n" + " -u, --unique eliminate duplicates after sorting\n" " --memory=M use at most M MByte RAM (default: %d)\n" " --branch=B merge at most B arrays in one step (default: %d)\n" " --temporary-directory=DIR write temporary file to the specified\n"