00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _EYEDB_OPTS_H
00026 #define _EYEDB_OPTS_H
00027
00028 class GetOpt;
00029
00030 #include <vector>
00031
00032 namespace eyedb {
00033
00039 void print_standard_usage(GetOpt &getopt, const std::string &append = "",
00040 std::ostream &os = std::cerr,
00041 bool server = false);
00042
00043 void print_standard_help(GetOpt &getopt,
00044 const std::vector<std::string> &options,
00045 std::ostream &os = std::cerr,
00046 bool server = false);
00047
00048 void print_common_help(std::ostream &os, bool server = false);
00049
00050 void print_common_usage(std::ostream &os, bool server = false);
00051
00052 void print_use_help(std::ostream &os);
00053
00058 }
00059
00060 #endif