summaryrefslogtreecommitdiff
path: root/doc/Ledger.scriv/164.rtfd/TXT.rtf
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Ledger.scriv/164.rtfd/TXT.rtf')
-rw-r--r--doc/Ledger.scriv/164.rtfd/TXT.rtf35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/Ledger.scriv/164.rtfd/TXT.rtf b/doc/Ledger.scriv/164.rtfd/TXT.rtf
new file mode 100644
index 00000000..ede93468
--- /dev/null
+++ b/doc/Ledger.scriv/164.rtfd/TXT.rtf
@@ -0,0 +1,35 @@
+{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460
+{\fonttbl\f0\fmodern\fcharset0 Courier;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sl264\slmult1\ql\qnatural\pardirnatural
+
+\f0\fs28 \cf0 @c -r, --related calculate report using related postings\
+\
+Normally, a register report includes only the postings that match\
+the regular expressions specified after the command word. For\
+example, to report all expenses:\
+\
+@example\
+ledger reg ^expenses\
+@end example\
+\
+This reports:\
+\
+@smallexample\
+2004/05/29 Book Store Expenses:Books $20.00 $20.00\
+@end smallexample\
+\
+Using @option\{--related\} (@option\{-r\}) reports the postings that\
+did not match your query, but only in transactions that otherwise would\
+have matched. This has the effect of indicating where money came\
+from, or when to:\
+\
+@example\
+ledger -r reg ^expenses\
+@end example\
+\
+Reports:\
+\
+@smallexample\
+2004/05/29 Book Store Liabilities:MasterCard $20.00 $20.00\
+@end smallexample} \ No newline at end of file