extract-files: Error if path isn't specified

* ADB shouldn't be an option
* It's super annoying when you forget to use -p

Change-Id: Ie2c8819b10377109b7c49e52f1cb25f4289be372
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
This commit is contained in:
Paul Keith 2017-05-02 14:00:06 -05:00
parent bbc653b31e
commit b44476b518

View File

@ -46,8 +46,8 @@ while [ "$1" != "" ]; do
done done
if [ -z "$SRC" ]; then if [ -z "$SRC" ]; then
echo "Warning, path to system dump not specified, pulling from adb" echo "Path to system dump not specified! Specify one with --path"
SRC=adb exit 1
fi fi
if [ -z "$TARGET" ]; then if [ -z "$TARGET" ]; then