diff --git a/src/verify.cpp b/src/verify.cpp index 2f6abaa..c65aaf9 100644 --- a/src/verify.cpp +++ b/src/verify.cpp @@ -90,10 +90,9 @@ int main(int argc, char *const *argv) { std::string token; // If a positional argument is present, treat it as the token (with warning) if (optind < argc) { - fprintf(stderr, - "%s: Warning: Providing the token on the command line is " - "insecure. Please use stdin instead.\n", - argv[0]); + std::cout << argv[0] + << ": Warning: Providing the token on the command line is " + << "insecure. Please use stdin instead." << std::endl; token = argv[optind]; } else { // Read token from stdin