Use "$@" to pass arguments to Python in stead of "${1}". This passes all
arguments, and also does the right thing for the no argument case.
Showing
Please
register
or
sign in
to comment
arguments, and also does the right thing for the no argument case.