Skip to content

Commit

Permalink
print usage when class name exists for non heap_dump mode
Browse files Browse the repository at this point in the history
  • Loading branch information
YeunjunLee committed Apr 30, 2024
1 parent 7195871 commit 049cec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/executables/util_sa.c
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,7 @@ diagdb (UTIL_FUNCTION_ARG * arg)
goto print_diag_usage;
}

if (diag == DIAGDUMP_ALL && class_name != NULL)
if (diag != DIAGDUMP_HEAP && class_name != NULL)
{
goto print_diag_usage;
}
Expand Down

0 comments on commit 049cec2

Please sign in to comment.