home *** CD-ROM | disk | FTP | other *** search
- /*
- * Mostra l'help.
- * (C)1990 by redmax@alessia.dei.unipd.it (Massimo A. Santin)
- * $Log: lshelp.c $
- * Revision 1.1 91/05/08 20:02:02 Unknown
- * Initial revision
- *
- */
-
- #include "ls.h"
-
- static char rcsid[] = "$Header: d:/usr/utils/ls/rcs/lshelp.c 1.1 91/05/08 20:02:02 Unknown Exp $";
-
- void print_help(void)
- {
- #ifdef OS2_ONLY
- #define MSG "OS/2 LS 1.104\n"
- #else
- #define MSG "OS/2 & DOS LS 1.104\n"
- #endif
- fprintf(stderr, MSG);
- fprintf(stderr, "usage: LS [-lan[hsad]s[ek]t[caw]xRpF?h] [name(s)]\n");
- fprintf(stderr, "-l long listing (with attributes)\n");
- fprintf(stderr, "-a include all files\n");
- fprintf(stderr, "-n[hsad] include files with normal (default), hidden, system, archive,\n");
- fprintf(stderr, " directory attributes\n");
- fprintf(stderr, "-s[ek] size (default), effective size, in Kbytes\n");
- fprintf(stderr, "-t[caw] time of creation, last access, last write (default)\n");
- fprintf(stderr, "-x wide listing\n");
- fprintf(stderr, "-R recursive listing of subdirectories\n");
- fprintf(stderr, "-p put '\\' at end of directories\n");
- fprintf(stderr, "-F '-p' + put '*' at end of executables\n");
- fprintf(stderr, "-E list extended attributes (EA)\n");
- fprintf(stderr, "-V show volume informations\n");
- fprintf(stderr, "\nLS requires OS/2 version 1.2 or above.\n");
- fprintf(stderr, "(c)1990 by redmax@alessia.dei.unipd.it (M.A.Santin).\n");
- exit(1);
- } /* print_help */
-