johannesgerer / buchhaltung

Smart tools for the ledger universe
http://johannesgerer.com/buchhaltung
MIT License
97 stars 8 forks source link

Commit command broken in latest master #26

Open bascht opened 6 years ago

bascht commented 6 years ago

Using latest master (291ce75) it looks like the commit command no longer forwards the command line arguments to git:

$ buchhaltung commitHledger -a -m'checking account ok'
Invalid option `-a'

Usage: buchhaltung [-u|--user USER] [-p|--profile FOLDER] COMMAND
[…]

It'll work if I split the arguments like $ buchhaltung commitHledger -- -a -m'checking account ok'.

johannesgerer commented 6 years ago

I think that might be due to a change in optparse-applicative. I will try to find time to look at this

On January 3, 2018 2:25:44 PM GMT+00:00, Sebastian Schulze notifications@github.com wrote:

Using latest master (291ce75) it looks like the commit command no longer forwards the command line arguments to git:

$ buchhaltung commitHledger -a -m'checking account ok'
Invalid option `-a'

Usage: buchhaltung [-u|--user USER] [-p|--profile FOLDER] COMMAND
[…]

It'll work if I split the arguments like $ buchhaltung commitHledger -- -a -m'checking account ok'.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/johannesgerer/buchhaltung/issues/26