diff --git a/pm3 b/pm3 index 2bd874bf3..531f80b39 100755 --- a/pm3 +++ b/pm3 @@ -261,20 +261,15 @@ Description: To see a list of available ports, use --list. Usage: - $SCRIPT [-n ] [-f] [-c ]|[-l ]|[-s ] [-i] - $SCRIPT [--list] [--help] + $SCRIPT [-n ] [] + $SCRIPT [--list] [-h|--help] [-hh|--helpclient] Arguments: - --help this help + -h/--help this help + -hh/--helpclient proxmark3 client help (the script will forward these options) --list list all detected com ports - -n connect device refered to the N:th number on the --list output - -c 'cmd' execute the pm3 cmd in client and exit afterwards - -i interactive, stay in client after executing a cmd or script - -s 'script' execute a cmd script file and exit afterwards - -l 'luascript' execute a lua script file and exit afterwards - -w wait - -p specifiy which port to connect to + -n connect device referred to the N:th number on the --list output Samples: @@ -393,6 +388,11 @@ if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then exit 0 fi +if [ "$1" == "-hh" ] || [ "$1" == "--helpclient" ]; then + CMD "-h" + exit 0 +fi + # if a port is already provided, let's just run the command as such for ARG in "$@"; do if [ "$ARG" == "-p" ]; then