2023-05-21 23:05:39 +00:00
|
|
|
/**
|
|
|
|
* Main.h: contains definitions for ldaphotos.c
|
|
|
|
*/
|
|
|
|
|
2023-06-19 08:56:49 +00:00
|
|
|
#ifndef LDAPHOTOS
|
|
|
|
#define LDAPHOTOS
|
|
|
|
|
2023-05-21 23:05:39 +00:00
|
|
|
#define VERSION "v0.0"
|
|
|
|
#define TITLE "LDAP Photo Album, by Catluck Kettlemerry"
|
|
|
|
#define PROGNAME "ldaphotos"
|
|
|
|
#define USAGE0 "Usage:"
|
|
|
|
#define USAGE1 "[OPTION...]"
|
2023-09-12 22:46:05 +00:00
|
|
|
#define OPTIONS "Options: \
|
|
|
|
\t-v run verbosely \
|
|
|
|
\t-h show help and exit \
|
|
|
|
\t-t provide terse output \
|
|
|
|
\t-f <path> Read input from file <path> \
|
|
|
|
t-p Print the effects of the given options for this invocation"
|
2023-06-19 08:56:49 +00:00
|
|
|
|
|
|
|
void print_help(void){
|
|
|
|
printf("%s %s\n", TITLE, VERSION);
|
|
|
|
printf("%s %s %s\n", USAGE0, PROGNAME, USAGE1);
|
2023-09-12 22:46:05 +00:00
|
|
|
printf("%s\n",
|
|
|
|
OPTIONS);
|
2023-06-19 08:56:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|