/***************************************************************************
                          show_help.c  -  description
                             -------------------
    begin                : vie ago 23 2002
    copyright            : (C) 2002 by deabru
    email                : deabru@nubbis.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ****************************************************************************/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

 #include <stdio.h>

void show_help()
{
    /* show help info */
	printf("HACHA for linux version %s, (nubbis GPL utility for split/join big files): \n\n",VERSION);
	printf("\tusage: hacha <command> [options] <file>\n\n");
	printf("Where <command> is one of:\n\n");
	printf(" s   Split <file>\n");
	printf("      where [options] are:\n");
	printf("       -s size (indicate size to split, default 1,44M. You can use \n");
	printf("          abreviatures: m, k, b. For megabyte, kilobyte... example: -s 1m\n");
	printf("          (create files of 1 mega) -s 1k (create files of 1024 bytes))\n");
	printf("       -l low_mem (The -l option forces byte-to-byte copy processes, so it\n");
	printf("          makes the program to spend more time and less memory)\n");
	printf("       -m or -n name (indicate master name of splited files, default use file\n");
	printf("          name without extension, example:-m lalala (create files lalala.0...))\n");
	printf("       -p number_of_parts (indicate how many parts you want\n");
	printf("          example: -p 100 (create 100 files) (incompatible with -s))\n");
	printf(" j   Join <file.0>\n");
	printf("      where [options] are:\n");
	printf("       -l low_mem (The -l option forces byte-to-byte copy processes, so it\n");
	printf("          makes the program to spend more time and less memory)\n");
	printf(" i   show <file.0> Info\n");
	printf(" h   show this Help\n");
	printf("\nPowered by deabru, contact, bugs and contributions -> mail deabru@nubbis.com\n");
	printf("For download, new versions and more visit www.nubbis.com\n");
	printf("\n");


	return;
}