From 5a6f89fe9760ff2a688d29ac5ca3bb3f28c9216f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 26 Apr 2025 00:24:05 +0200 Subject: Improve rtt-patch command line parsing. Also patch starting from a snapshot if requested. --- bin/rtt-undo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/rtt-undo') diff --git a/bin/rtt-undo b/bin/rtt-undo index 2f69eed..ae375f9 100755 --- a/bin/rtt-undo +++ b/bin/rtt-undo @@ -9,7 +9,7 @@ then echo Game has $COUNT actions. fi sqlite3 db "delete from game_replay where game_id=$1 and replay_id>=$COUNT" - ./bin/rtt-patch $1 '{"validate_actions":false}' + ./bin/rtt-patch $1 -no-validate else echo "usage: rtt-undo GAME" fi -- cgit v1.2.3