From 0d98dd1351894020d8a3efa276672c05c2f53237 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 27 Feb 2025 22:02:57 -1000 Subject: [PATCH] ;bin:hledger-jj: updates --- bin/hledger-jj | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bin/hledger-jj b/bin/hledger-jj index 610bf1f20..84969b7e5 100755 --- a/bin/hledger-jj +++ b/bin/hledger-jj @@ -1,7 +1,10 @@ #!/usr/bin/env ysh # -*- sh -*- -# tested with ysh 0.24 +# Tested with ysh 0.24 # https://oils.pub/release/latest/doc/ysh-tour.html -# https://oils.pub/release/latest/doc/ref/ +# https://oils.pub/release/latest/doc/ref/ +# Tested with jj 0.26 with auto-track disabled, ie in ~/.jjconfig.toml: +# [snapshot] +# auto-track = "none()" const HELP = ''' ------------------------------------------------------------------------------- @@ -110,7 +113,7 @@ if (len(ARGV) < 1) { var args = ARGV[1:] case (ARGV[0]) { /S ('h'('e'('l'('p')?)?)? | '-h' | '-'? '-help') E/ { help } - /S 's'('t'('a'('t'('u'('s')?)?)?)?) ?E/ { setup; status @args } + /S 's'('t'('a'('t'('u'('s')?)?)?)?)? E/ { setup; status @args } /S 'd'('i'('f'('f')?)?)? E/ { setup; diff @args } /S 'c'('o'('m'('m'('i'('t')?)?)?)?)? E/ { setup; commit @args } /S 'l'('o'('g')?) ?E/ { setup; log @args }