diff --git a/src/simple-mtpfs-fuse.cpp b/src/simple-mtpfs-fuse.cpp index 12e1ab5..5fc6831 100644 --- a/src/simple-mtpfs-fuse.cpp +++ b/src/simple-mtpfs-fuse.cpp @@ -343,7 +343,7 @@ void SMTPFileSystem::printHelp() const struct fuse_args args = FUSE_ARGS_INIT(0, NULL); struct fuse_operations tmp_operations; memset(&tmp_operations, 0, sizeof(tmp_operations)); - std::cout << "usage: " << m_args.argv[0] + std::cerr << "usage: " << m_args.argv[0] #ifdef HAVE_LIBUSB1 << " " #endif // HAVE_LIBUSB1 @@ -360,7 +360,7 @@ void SMTPFileSystem::printHelp() const fuse_opt_add_arg(&args, "-ho"); fuse_main(args.argc, args.argv, &tmp_operations, nullptr); fuse_opt_free_args(&args); - std::cout << "\nReport bugs to <" << PACKAGE_BUGREPORT << ">.\n"; + std::cerr << "\nReport bugs to <" << PACKAGE_BUGREPORT << ">.\n"; } void SMTPFileSystem::printVersion() const