summaryrefslogtreecommitdiff
path: root/contrib/entry
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/entry')
-rwxr-xr-xcontrib/entry6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/entry b/contrib/entry
index cc030d8e..ef1869da 100755
--- a/contrib/entry
+++ b/contrib/entry
@@ -6,11 +6,11 @@ fi
line=`wc -l $LEDGER | awk '{print $1}'`
-if ledger entry "$@" > /tmp/entry; then
- cat /tmp/entry >> $LEDGER
+if ledger xact "$@" > /tmp/xact; then
+ cat /tmp/xact >> $LEDGER
else
echo "$@" >> $LEDGER
fi
-rm /tmp/entry
+rm /tmp/xact
vi +$line $LEDGER