memacapable: warn about FLUSH
[awesomized/libmemcached] / src / bin / memcp.cc
index 7ad8678717b315a52437dba9e9e7ae91685c0c33..c13973e71df0ec94011cb69c70684c81b7481907 100644 (file)
 
 #include "common/options.hpp"
 #include "common/checks.hpp"
+#include "p9y/libgen.hpp"
+#include "p9y/realpath.hpp"
 
 #include <cerrno>
 #include <climits>
 #include <cstdlib>
-#if HAVE_LIBGEN_H
-#  include <libgen.h>
-#endif
 #include <fstream>
 #include <sstream>
 
@@ -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) {