From 76fc127b042dabd91c425a5a1267bc356b812cac Mon Sep 17 00:00:00 2001 From: Dale Newby Date: Mon, 29 Apr 2024 15:30:46 -0400 Subject: [PATCH] Force $delay to be an integer --- youtrack-backup.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtrack-backup.pl b/youtrack-backup.pl index d69ee89..ad6ba13 100755 --- a/youtrack-backup.pl +++ b/youtrack-backup.pl @@ -43,7 +43,7 @@ () GetOptions( 'bucket|b=s' => \$b2_bucket, 'baseurl|u=s' => \$yt_url, - 'delay|d' => \$delay, + 'delay|d=i' => \$delay, 'keep|k=i' => \$keep_count, 'quiet|q' => \$quiet, 'help|h' => \$help