Skip to content

Commit

Permalink
Make dry-run -n in prune-helper to match plant-helper
Browse files Browse the repository at this point in the history
  • Loading branch information
rahearn committed Sep 11, 2024
1 parent 82beb15 commit 7531f5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/prune-helper
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Options:
-r: Reason the evidence is being pruned
-l: https version of locker repository
-b: main branch used in locker repository. Default: 'main'
-d: Dry run mode
-n: Dry run mode
"

set -e
Expand All @@ -24,7 +24,7 @@ file=""
reason=""
locker=""

while getopts "hf:r:l:b:d" opt; do
while getopts "hf:r:l:b:n" opt; do
case "$opt" in
f)
file=${OPTARG}
Expand All @@ -38,7 +38,7 @@ while getopts "hf:r:l:b:d" opt; do
b)
branch=${OPTARG}
;;
d)
n)
mode="dry-run"
;;
h)
Expand Down

0 comments on commit 7531f5c

Please sign in to comment.