From 25c9083d0dcbed80498b227b46a3e3a12b17315d Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 7 Oct 2022 14:45:44 -1000 Subject: [PATCH] ;bin: move: docs fix --- bin/hledger-move.hs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bin/hledger-move.hs b/bin/hledger-move.hs index 9872089f3..f0317fcce 100755 --- a/bin/hledger-move.hs +++ b/bin/hledger-move.hs @@ -61,8 +61,6 @@ representing a transfer of the requested amount from the source account to the destination account. The commodity to be moved is determined by AMT's commodity symbol. -As a convenience, no symbol means "move the account's only commodity"; -this works when the source account contains just one commodity. This command can also move amounts from subaccounts (one level, at least). It will move amounts first out of the main source account if possible, @@ -84,13 +82,16 @@ Or, to consolidate amounts in the main destination account Examples: $ hledger-move $50 assets:checking assets:cash # withdraw cash from bank -$ hledger-move 50 checking cash # the same, less typing -$ hledger-move 1000 ada:wallet1 ada:wallet2 # move 1000, keeping lots +$ hledger-move ADA1000 ada:wallet1 ada:wallet2 # move 1000 ADA, keeping lots _FLAGS |] {- NOT YET IMPLEMENTED: +As a convenience, no symbol means "move the account's only commodity"; +this works when the source account contains just one commodity. +$ hledger-move 50 checking cash # the same, less typing + A zero AMT means "move all of the specified commodity". or the keyword "all"