From 43e539561a4ea95274468b78735555d6e89fdfd9 Mon Sep 17 00:00:00 2001 From: jakob Date: Thu, 12 Jan 2017 17:09:17 -0500 Subject: Finished implementation of file decryption. There are still many memory corruption bugs and a segfault is not uncommon. --- src/cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cli.c') diff --git a/src/cli.c b/src/cli.c index 2713fed..6144c4e 100644 --- a/src/cli.c +++ b/src/cli.c @@ -44,7 +44,7 @@ "configuration" structure containing everything parsed from argv. */ struct configuration parse_args(int argc, char *argv[]) { if (argc < 2) { - fprintf(stderr, "Usage: %s (ARCHIVE PATH) [OPTIONS]\n", argv[0]); + fprintf(stderr, "Usage: %s [OPTIONS] (ARCHIVE PATH)\n", argv[0]); exit(1); } @@ -102,7 +102,7 @@ struct configuration parse_args(int argc, char *argv[]) { first. argv[count] is the first positional argument encountered. */ if (parsed.archive_path == NULL) { if (argv[count] == NULL) { - fprintf(stderr, "No archive path given.\n"); + fprintf(stderr, "No archive path provided.\n"); exit(EXIT_FAILURE); } parsed.archive_path = argv[count]; -- cgit v1.3