From cd3a8571cc52dfc4ed78e69de91e91a686847167 Mon Sep 17 00:00:00 2001 From: Jared Bruni Date: Fri, 29 Mar 2024 18:10:59 -0700 Subject: [PATCH] Update bin2cpp.cpp --- bin2cpp20/bin2cpp.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin2cpp20/bin2cpp.cpp b/bin2cpp20/bin2cpp.cpp index ed9ddb3..59eb8b8 100644 --- a/bin2cpp20/bin2cpp.cpp +++ b/bin2cpp20/bin2cpp.cpp @@ -19,6 +19,8 @@ bin2cpp20 - conversion tool #include #include +#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); @@ -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':