Commit aa2a71f7 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Merge branch 'b-strcmp-exec' into 'v2.3-stable'

[v2.3-stable] Executable: replace leftover strcmp with string comparison

See merge request allpix-squared/allpix-squared!872
parents 6297b596 b887a59a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ int main(int argc, const char* argv[]) {

        if(arg == "-h") {
            print_help = true;
        } else if(strcmp(argv[i], "--version") == 0) {
        } else if(arg == "--version") {
            std::cout << "Allpix Squared version " << ALLPIX_PROJECT_VERSION;
#ifdef ALLPIX_BUILD_ENV
            std::cout << " (" << ALLPIX_BUILD_ENV << ")";