diff --git a/src/main.c b/src/main.c index 658903c..f3dc78a 100644 --- a/src/main.c +++ b/src/main.c @@ -7,10 +7,10 @@ #include "include/hex.h" #include "include/file.h" -const char* argp_program_version = "xxd 0.1"; +const char* argp_program_version = "xxd 0.2"; const char* argp_program_bug_address = "supernovaa41@gmx.com"; -static char doc[] = "Creates a hex dump of the given file."; -static char args_doc[] = "INFILE [OUTFILE]"; +static char doc[] = "Recreation of the GNU util xxd. Creates a hex dump of the given input."; +static char args_doc[] = "[INFILE [OUTFILE]]"; static struct argp_option options[] = { {"cols", 'c', "cols", 0, "format octets per line. Default 16.", 0}, {"octets", 'g', "bytes", 0, "number of octets per group in normal output. Default 2.", 0},