Skip to content

Commit 8e5b4c0

Browse files
Samueru-samaTheAssassin
authored andcommitted
Print version to stdout when using --version
1 parent 4132f3d commit 8e5b4c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/appimagetool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ main (int argc, char *argv[])
611611
}
612612

613613
fprintf(
614-
stderr,
614+
showVersionOnly ? stdout : stderr,
615615
"appimagetool, %s (git version %s), build %s built on %s\n",
616616
RELEASE_NAME, GIT_VERSION, BUILD_NUMBER, BUILD_DATE
617617
);

0 commit comments

Comments
 (0)