addon command options are ignored unless invoked directly #64

Closed
simonmichael opened this Issue Apr 8, 2013 · 2 comments

Projects

None yet

1 participant

@simonmichael
Owner

Original author: simon@joyful.com (September 17, 2011 04:22:04)

Currently, hledger web --port N is not allowed, because hledger rejects --port (cmdargs limitation), so you have to type hledger web -- --port N. This is accepted, however, the options following -- are ignored. The only way to specify them is by invoking the addon directly, hledger-web --port N.

Original issue: http://code.google.com/p/hledger/issues/detail?id=64

@simonmichael
Owner

From simon@joyful.com on September 17, 2011 04:24:29
In other words,

hledger web --port N <- we'd like to do this, but can't yet
hledger web -- --port N <- 0.15 docs say to do this, but the options after -- are ignored
hledger-web --port N <- so do this for now

@simonmichael
Owner

From simon@joyful.com on September 23, 2011 14:12:55
Fixed in darcs, so at least options 2 and 3 above now work. The relevant cmdargs issue for option 1 is http://code.google.com/p/ndmitchell/issues/detail?id=470 .

@simonmichael simonmichael added the cli label May 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment