Skip to content

Commit

Permalink
Update bin2cpp.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lostjared committed Mar 30, 2024
1 parent a06a42c commit cd3a857
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin2cpp20/bin2cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ bin2cpp20 - conversion tool
#include <string>
#include <vector>

#define VERSION_INFO "1.0.0"

void convertStreamToVector(std::string_view name, std::istream &in, std::ostream &out);
void convertStreamToArray(std::string_view name, const char *data, std::size_t length, std::ostream &out);
void convertStreamToString(bool sorted, std::string_view name, std::istream &in, std::ostream &out);
Expand Down Expand Up @@ -53,6 +55,8 @@ int main(int argc, char **argv) {
break;
case 'H':
case 'h':
std::cout << "bin2cpp20 v" << VERSION_INFO << "\n";
std::cout << "written by Jared Bruni\n";
argz.help(std::cout);
return EXIT_SUCCESS;
case 'v':
Expand Down

0 comments on commit cd3a857

Please sign in to comment.