/* version.c - Part of the unsea program. * Copyright 1992 by David W. Rankin, Jr. * * See "unsea.txt" for full copyright information applying * to all text in this package. * * * version.c holds the version-dependant info as well as the * in-program help. */ #include "unsea.h" #define VERSION "Unsea 1.0 Release Version" /* HELP CODE!!! */ void startupmesg(void) { printf(VERSION "\n\ Copyright 1992 David W. Rankin, Jr.\n\n\ WARNING: unsea will corrupt encrypted StuffIt SEAs. Do not use\n\ unsea to convert these files. \n\n"); } void help(void) { /* here I'll put the ever-helpful tips to those who need help */ printf("Syntax for calling unsea: \n\ unsea [-bcnos] [--] archive1.name [new.archive1.name] [archive2.name] ... \n\ Options:[None of these are defaults]\n\ b: This option places unsea in \"brief descriptions\" mode, surpressing\n\ the verbose descriptions of the SEA being converted that unsea\n\ normally gives.\n\ c: When selected, this flag surpresses conversion of Compact Pro files.\n\ By default, Compact Pro files are converted.\n\ n: For every original file, a file name is given for the\n\ output file. If this isn't selected, unsea generates\n\ a name using its internal naming algorithms.\n"); printf("\ o: Overwrite any file with the same name as the converted file.\n\ If not selected, unsea will not overwrite files.\n\ s: Surpress conversion of StuffIt Deluxe SEAs. By default, StuffIt SEAs\n\ are converted.\n\ After the options, list the files you wish to convert, along\n\ with the converted file's name, if using the -n option. \n"); }