We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac2e670 + e7fdb84 commit e21b2a3Copy full SHA for e21b2a3
src/verify.cpp
@@ -90,10 +90,9 @@ int main(int argc, char *const *argv) {
90
std::string token;
91
// If a positional argument is present, treat it as the token (with warning)
92
if (optind < argc) {
93
- fprintf(stderr,
94
- "%s: Warning: Providing the token on the command line is "
95
- "insecure. Please use stdin instead.\n",
96
- argv[0]);
+ std::cout << argv[0]
+ << ": Warning: Providing the token on the command line is "
+ << "insecure. Please use stdin instead." << std::endl;
97
token = argv[optind];
98
} else {
99
// Read token from stdin
0 commit comments