From 13c3af75fc18943d7cf3b93436dd117fff170664 Mon Sep 17 00:00:00 2001 From: Seppia Date: Sun, 28 Jan 2018 14:02:39 +0100 Subject: Changed help style Add spaces before commands and options in help function and minor style changes --- src/onetimebluh.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/onetimebluh.c b/src/onetimebluh.c index 7782cf0..e8da841 100644 --- a/src/onetimebluh.c +++ b/src/onetimebluh.c @@ -338,21 +338,21 @@ void bluh (int c, char* mess, char* outp, char* ch) { } void help (char* av[]) { - fprintf (stdout,"ONETIMEBLUH USAGE:\n" + fprintf (stdout,"Onetimebluh usage:\n" "%s [COMMAND] [OPTIONS]\n\n" - "COMMANDS:\n\n" - "-b, --bluh=FILE bluhes your message or in other words performs a binary dump\n" - "-d, --decrypt=FILE decrypt message (input) same ad --encrypt, just for the feeling\n" - "-e, --encrypt=FILE encrypt message (input)\n" - "-g, --gen-key create key file\n" - "-h, --help print this help\n" - "-u, --unbluh=FILE unbluhes your message (gets the orginal message from the binary dump)\n\n" - "OPTIONS\n\n" - "-c, --char=CAHRS reads two cahracters as argument and uses them to bluh your message\n" - "-k, --key-file=KEY_FILE use key (input)\n" - "-n, --nbytes=NUM number of bytes\n" - "-o, --output=FILE output name\n" - "-t, --tear-page deletes from the pad file the bytes used to encrypt/decrypt\n\n" + "Commands:\n\n" + " -b, --bluh=FILE bluhes your message or in other words performs a binary dump\n" + " -d, --decrypt=FILE decrypt message (input) same ad --encrypt, just for the feeling\n" + " -e, --encrypt=FILE encrypt message (input)\n" + " -g, --gen-key create key file\n" + " -h, --help print this help\n" + " -u, --unbluh=FILE unbluhes your message (gets the orginal message from the binary dump)\n\n" + "Options:\n\n" + " -c, --char=CAHRS reads two cahracters as argument and uses them to bluh your message\n" + " -k, --key-file=KEY_FILE use key (input)\n" + " -n, --nbytes=NUM number of bytes\n" + " -o, --output=FILE output name\n" + " -t, --tear-page deletes from the pad file the bytes used to encrypt/decrypt\n\n" "Onetimebluh project repository at https://git.eigenlab.org/seppia/onetimebluh\n", av[0]); return; -- cgit v1.2.3