# include "dvomerge.h"

void dvomerge_usage (void) {
  fprintf (stderr, "USAGE: dvomerge (input1) and (input2) to (output)\n");
  fprintf (stderr, "   OR: dvomerge (input) into (output)\n");
  exit (2);
}

void dvoconvert_usage(void) {

  fprintf (stderr, "USAGE: dvoconvert (input) to (output)\n");

  exit (2);
}

void dvomerge_help (int argc, char **argv) {

  /* check for help request */
  if (get_argument (argc, argv, "-help")) goto show_help;
  if (get_argument (argc, argv, "-h"))    goto show_help;
  return;

show_help:

  fprintf (stderr, "USAGE\n");
  fprintf (stderr, "  dvomerge (input1) and (input2) to (output)\n");
  fprintf (stderr, "  dvomerge (input) into (output)\n\n");
  fprintf (stderr, "  merge DVO databases\n");
  fprintf (stderr, "  optional flags:\n");
  fprintf (stderr, "  -v                    	  : verbose mode\n");
  fprintf (stderr, "  -help                 	  : this list\n");
  fprintf (stderr, "  -h                    	  : this list\n\n");
  exit (2);
}

void dvoconvert_help (int argc, char **argv) {

  /* check for help request */
  if (get_argument (argc, argv, "-help")) goto show_help;
  if (get_argument (argc, argv, "-h"))    goto show_help;
  return;

show_help:

  fprintf (stderr, "USAGE\n");
  fprintf (stderr, "  dvoconvert (input) to (output)\n\n");

  fprintf (stderr, "  change output format and mode with\n");
  fprintf (stderr, "  -D CATFORMAT (format)\n");
  fprintf (stderr, "  -D CATMODE (mode)\n\n");
 
  fprintf (stderr, "  optional flags:\n");
  fprintf (stderr, "  -v                    	  : verbose mode\n");
  fprintf (stderr, "  -help                 	  : this list\n");
  fprintf (stderr, "  -h                    	  : this list\n\n");
  exit (2);
}

