home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / sonido / mod-0.000 / mod-0 / mod / help.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-29  |  1.6 KB  |  45 lines

  1. /*
  2.  *  help.c - Help and usage texts.
  3.  *
  4.  *  (C) 1994 Mikael Nordqvist (d91mn@efd.lth.se, mech@df.lth.se)
  5.  */
  6.  
  7. #include <stdio.h>
  8.  
  9. #define USAGE_TEXT "\
  10. mod version 0.61 Copyright (C) Mikael Nordqvist, 1994.\n\n\
  11. Usage: %s [global options] file [options] file [options] ...\n"
  12.  
  13. #define HELP_TEXT USAGE_TEXT "\
  14. \n\
  15. Options always global:\n\
  16. \n\
  17.   -a        Enable auto-next             -l <arg>  Number of scroll-lines\n\
  18.   -A        Disable auto-next            -n        Disable scrolling\n\
  19.   -b        Break loops                  -q        Quiet mode\n\
  20.   -B        Allow loops                  -Q        Totally quiet mode\n\
  21.   -C        Cyclic play of modules       -r        Play modules randomly\n\
  22.   -D        Set directory                -v        Verbose mode\n\
  23.   -h        Help                         -z        Put mod in background\n\
  24.   -k        Kill mod in background\n\
  25. \n\
  26. Module-specific options:\n\
  27. \n\
  28.   -c <arg>  Click removal                -P        PAL-amiga samplepitch\n\
  29.   -f <arg>  Module format                -s <arg>  Set speed\n\
  30.   -L        Loop module                  -t <arg>  Set tempo\n\
  31.   -m <arg>  Maximum moduletime           -T        Tolerant mode\n\
  32.   -M        Mono output                  -x <arg>  Detail of voice-information\n\
  33.   -N        NTSC-amiga samplepitch       -0        Ignore speedchanges to 0\n\
  34.   -o        Octaves 1-3                  -5        PAL-amiga (50 Hz) tempo\n\
  35.   -O        Octaves 0-7                  -6        NTSC-amiga (60 Hz) tempo\n\
  36.   -p <arg>  Start-position\n\
  37. "
  38.  
  39. static char helptext[]=HELP_TEXT;
  40.  
  41. void print_helptext(char *av0)
  42. {
  43.     printf(helptext, av0);
  44. }
  45.