From ab9dab32947f10c009e30a0a446e8bd021d41988 Mon Sep 17 00:00:00 2001 From: Marcos Del Sol Vives Date: Fri, 3 Feb 2023 14:41:23 +0100 Subject: [PATCH] Fix pm3-flash-all -p XXX --- pm3 | 1 + 1 file changed, 1 insertion(+) diff --git a/pm3 b/pm3 index c0b0869b0..52a8ffcc1 100755 --- a/pm3 +++ b/pm3 @@ -441,6 +441,7 @@ done # if a port is already provided, let's just run the command as such for ARG; do + shift if [ "$ARG" == "-p" ]; then CMD "$@" exit $?