X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fbin%2Fmemcp.cc;h=c13973e71df0ec94011cb69c70684c81b7481907;hb=491fe2ddf35b2d79c28fc6e4de8c44e834cb680c;hp=7ad8678717b315a52437dba9e9e7ae91685c0c33;hpb=aeac01630eed825d8a624e7fd7c107d47bb2e40c;p=awesomized%2Flibmemcached diff --git a/src/bin/memcp.cc b/src/bin/memcp.cc index 7ad86787..c13973e7 100644 --- a/src/bin/memcp.cc +++ b/src/bin/memcp.cc @@ -21,13 +21,12 @@ #include "common/options.hpp" #include "common/checks.hpp" +#include "p9y/libgen.hpp" +#include "p9y/realpath.hpp" #include #include #include -#if HAVE_LIBGEN_H -# include -#endif #include #include @@ -150,7 +149,7 @@ int main(int argc, char *argv[]) { client_options opt{PROGRAM_NAME, PROGRAM_VERSION, PROGRAM_DESCRIPTION, "file [file ...]" "\n\t\t\t# NOTE: order of flags and positional" - "\n\t\t\t# arguments matters on GNU systems)"}; + "\n\t\t\t# arguments matters on GNU systems"}; opt.add(nullptr, '-', no_argument, "GNU argv extension") .parse = [&files](client_options &opt_, client_options::extended_option &ext) {