diff options
-rwxr-xr-x | wpos.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |