From 6e663074fb9e1090c279737e29d6054504c04679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Tue, 17 May 2016 13:18:58 +0200 Subject: wpos: Provide command list --- wpos.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wpos.sh b/wpos.sh index 2da9187..5022ff7 100755 --- a/wpos.sh +++ b/wpos.sh @@ -34,6 +34,10 @@ if [ "$1" = "save" ]; then query > "$SAVEPATH/$PROFILE" exit 0 +elif [ "$1" = "list" ]; then + query -p + exit 0 + elif [ "$1" = "restore" ]; then cat "$SAVEPATH/$PROFILE" | while read LINE; do ## Parse records in savefile -- cgit v1.2.3