Use the first unrecognized argument as the path name, not the second.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 17 Aug 2023 05:51:08 +0000 (14:51 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 17 Aug 2023 05:55:20 +0000 (14:55 +0900)
commit3f9d8a0354a3e635f22a54445f1985d475c97a87
tree3baa1098f3919b32e8ced2ba0faece638f2b6790
parenta1c2369100fea3fe652acbc5b1458e236db1997c
Use the first unrecognized argument as the path name, not the second.

If there are multiple unrecognized arguments,
treat only the first one as the path.

This will allow to ignore invalid arguments if it has given
the path for backward compatibility in the future.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
ssat.sh