From a924ad047ecf14d93c771722b9e578183eb8e436 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 17 Oct 2018 05:17:32 -0700 Subject: [PATCH] ui: drop the --present flag --- hledger-ui/Hledger/UI/UIOptions.hs | 4 ++-- hledger-ui/hledger-ui.m4.md | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/hledger-ui/Hledger/UI/UIOptions.hs b/hledger-ui/Hledger/UI/UIOptions.hs index 84f748083..1dc4d6a3b 100644 --- a/hledger-ui/Hledger/UI/UIOptions.hs +++ b/hledger-ui/Hledger/UI/UIOptions.hs @@ -38,8 +38,8 @@ uiflags = [ -- "show historical ending balance in each period (includes postings before report start date)\n " ,flagNone ["flat","F"] (\opts -> setboolopt "flat" opts) "show accounts as a list (default)" ,flagNone ["tree","T"] (\opts -> setboolopt "tree" opts) "show accounts as a tree" - ,flagNone ["present"] (\opts -> setboolopt "present" opts) "exclude transactions dated later than today (default)" - ,flagNone ["future"] (\opts -> setboolopt "future" opts) "include transactions dated later than today" +-- ,flagNone ["present"] (\opts -> setboolopt "present" opts) "exclude transactions dated later than today (default)" + ,flagNone ["future"] (\opts -> setboolopt "future" opts) "show transactions dated later than today (normally hidden)" -- ,flagReq ["drop"] (\s opts -> Right $ setopt "drop" s opts) "N" "with --flat, omit this many leading account name components" -- ,flagReq ["format"] (\s opts -> Right $ setopt "format" s opts) "FORMATSTR" "use this custom line format" -- ,flagNone ["no-elide"] (\opts -> setboolopt "no-elide" opts) "don't compress empty parent accounts on one line" diff --git a/hledger-ui/hledger-ui.m4.md b/hledger-ui/hledger-ui.m4.md index de1907d5f..dd93871d3 100644 --- a/hledger-ui/hledger-ui.m4.md +++ b/hledger-ui/hledger-ui.m4.md @@ -73,11 +73,8 @@ Any QUERYARGS are interpreted as a hledger search query which filters the data. `-T --tree` : show accounts as a tree -`--present` -: exclude transactions dated later than today (default) (experimental) - `--future` -: include transactions dated later than today (experimental) +: show transactions dated later than today (normally hidden) hledger input options: