mirror of
https://tinyplantnews.com/git2/ldaphotos
synced 2025-01-10 18:35:15 +00:00
bad9984903
Removed test suite and dependency on criterion unit test framework. The criterion AUR depended on an out-of-date ABI of libgit2, and since I don't want to wait for criterion's developers to update it, or to install an old version of a library I don't need, I decided to cut the unit test framework out of ldaphotos. The team (me) is searching for alternatives. main.h: Refactored the OPTIONS list. local.schema: Added LDAP schema. This is currently useless. Makefile: Consolidated libraries into $(LIBRARIES) variable.
28 lines
618 B
C
28 lines
618 B
C
/**
|
|
* Main.h: contains definitions for ldaphotos.c
|
|
*/
|
|
|
|
#ifndef LDAPHOTOS
|
|
#define LDAPHOTOS
|
|
|
|
#define VERSION "v0.0"
|
|
#define TITLE "LDAP Photo Album, by Catluck Kettlemerry"
|
|
#define PROGNAME "ldaphotos"
|
|
#define USAGE0 "Usage:"
|
|
#define USAGE1 "[OPTION...]"
|
|
#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"
|
|
|
|
void print_help(void){
|
|
printf("%s %s\n", TITLE, VERSION);
|
|
printf("%s %s %s\n", USAGE0, PROGNAME, USAGE1);
|
|
printf("%s\n",
|
|
OPTIONS);
|
|
}
|
|
|
|
#endif
|