Skip to content

Commit cd3a857

Browse files
authored
Update bin2cpp.cpp
1 parent a06a42c commit cd3a857

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin2cpp20/bin2cpp.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ bin2cpp20 - conversion tool
1919
#include <string>
2020
#include <vector>
2121

22+
#define VERSION_INFO "1.0.0"
23+
2224
void convertStreamToVector(std::string_view name, std::istream &in, std::ostream &out);
2325
void convertStreamToArray(std::string_view name, const char *data, std::size_t length, std::ostream &out);
2426
void convertStreamToString(bool sorted, std::string_view name, std::istream &in, std::ostream &out);
@@ -53,6 +55,8 @@ int main(int argc, char **argv) {
5355
break;
5456
case 'H':
5557
case 'h':
58+
std::cout << "bin2cpp20 v" << VERSION_INFO << "\n";
59+
std::cout << "written by Jared Bruni\n";
5660
argz.help(std::cout);
5761
return EXIT_SUCCESS;
5862
case 'v':

0 commit comments

Comments
 (0)