Slight changes.

This commit is contained in:
vonavi 2013-09-23 13:34:40 +03:00
parent 9fde9517f6
commit f5bfd586ae

View File

@ -12,7 +12,7 @@ restore='\\033[00m'
# Note that we use `"$@"' to let each command-line parameter expand to a # Note that we use `"$@"' to let each command-line parameter expand to a
# separate word. The quotes around `$@' are essential! # separate word. The quotes around `$@' are essential!
# We need ARGS as the `eval set --' would nuke the return value of getopt. # We need ARGS as the `eval set --' would nuke the return value of getopt.
args=`getopt --options p: --longoptions player: -- "$@"` args=$(getopt --options p: --longoptions player: -- "$@")
# Note the quotes around `$ARGS': they are essential! # Note the quotes around `$ARGS': they are essential!
eval set -- "$args" eval set -- "$args"