Skip to content

Commit

Permalink
Clarify the user input parameter with the notification truncation
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulBoon committed Sep 10, 2024
1 parent 51fe7de commit 4eec9e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public NotificationTruncate(@NonNull Database database) {

static class UserOptions {
@CommandLine.Option(names = { "--user" }, required = true,
description = "The user whose notifications to truncate.")
description = "The user database id (a number) whose notifications to truncate.")
int user; // a number, preventing accidental SQL injection
// This id is visible for 'superusers' in the Dataverse Dashboard

Expand Down

0 comments on commit 4eec9e5

Please sign in to comment.