Skip to content

Commit

Permalink
print version to stdout only when requested
Browse files Browse the repository at this point in the history
Co-authored-by: TheAssassin <theassassin@assassinate-you.net>
  • Loading branch information
Samueru-sama and TheAssassin authored Dec 29, 2024
1 parent 6a1226b commit fed7b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appimagetool.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ main (int argc, char *argv[])
}

fprintf(
stdout,
showVersionOnly ? stdout : stderr,
"appimagetool, %s (git version %s), build %s built on %s\n",
RELEASE_NAME, GIT_VERSION, BUILD_NUMBER, BUILD_DATE
);
Expand Down

0 comments on commit fed7b70

Please sign in to comment.