lib: Cli,UI,WebOptions: export binaryinfo
This commit is contained in:
parent
d3af9f0217
commit
d1e4d00b8d
@ -41,6 +41,9 @@ prognameandversion =
|
|||||||
progname
|
progname
|
||||||
packageversion
|
packageversion
|
||||||
|
|
||||||
|
binaryinfo :: HledgerBinaryVersion
|
||||||
|
Right binaryinfo = parseHledgerVersion prognameandversion
|
||||||
|
|
||||||
|
|
||||||
uiflags = [
|
uiflags = [
|
||||||
flagNone ["watch","w"] (setboolopt "watch") "watch for data and date changes and reload automatically"
|
flagNone ["watch","w"] (setboolopt "watch") "watch for data and date changes and reload automatically"
|
||||||
|
|||||||
@ -52,6 +52,9 @@ prognameandversion =
|
|||||||
progname
|
progname
|
||||||
packageversion
|
packageversion
|
||||||
|
|
||||||
|
binaryinfo :: HledgerBinaryVersion
|
||||||
|
Right binaryinfo = parseHledgerVersion prognameandversion
|
||||||
|
|
||||||
webflags :: [Flag RawOpts]
|
webflags :: [Flag RawOpts]
|
||||||
webflags =
|
webflags =
|
||||||
[ flagNone
|
[ flagNone
|
||||||
|
|||||||
@ -18,6 +18,7 @@ related utilities used by hledger commands.
|
|||||||
module Hledger.Cli.CliOptions (
|
module Hledger.Cli.CliOptions (
|
||||||
progname,
|
progname,
|
||||||
prognameandversion,
|
prognameandversion,
|
||||||
|
binaryinfo,
|
||||||
|
|
||||||
-- * cmdargs flags & modes
|
-- * cmdargs flags & modes
|
||||||
inputflags,
|
inputflags,
|
||||||
@ -138,6 +139,9 @@ prognameandversion =
|
|||||||
progname
|
progname
|
||||||
packageversion
|
packageversion
|
||||||
|
|
||||||
|
binaryinfo :: HledgerBinaryVersion
|
||||||
|
Right binaryinfo = parseHledgerVersion prognameandversion
|
||||||
|
|
||||||
-- Common options.
|
-- Common options.
|
||||||
-- keep synced: the docs macro in doc/common.m4
|
-- keep synced: the docs macro in doc/common.m4
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user