diff options
author | John Wiegley <johnw@newartisans.com> | 2003-10-01 03:44:42 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2003-10-01 03:44:42 +0000 |
commit | 16cb024a823112f4f2360f6123492bcefd8f74f8 (patch) | |
tree | 3bf081084c593ab9de28118bc0ab7e02d10338f8 /main.cc | |
parent | abe98b8f8932038f9dcd671014a5d51a8b0fa0b8 (diff) | |
download | fork-ledger-16cb024a823112f4f2360f6123492bcefd8f74f8.tar.gz fork-ledger-16cb024a823112f4f2360f6123492bcefd8f74f8.tar.bz2 fork-ledger-16cb024a823112f4f2360f6123492bcefd8f74f8.zip |
*** empty log message ***
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -142,7 +142,14 @@ int main(int argc, char *argv[]) commodity * usd = new commodity("$", true, false, true, false, 2); main_ledger.commodities.insert(commodities_entry("USD", usd)); + // Read the command word + + const std::string command = argv[optind]; + #ifdef HUQUQULLAH + if (command == "register") + compute_huquq = false; + if (compute_huquq) { new commodity("H", true, true, true, false, 2); new commodity("mithqal", false, true, true, false, 1); @@ -154,15 +161,6 @@ int main(int argc, char *argv[]) } #endif - // Read the command word - - const std::string command = argv[optind]; - -#ifdef HUQUQ_CATEGORIES - if (command == "register") - compute_huquq = false; -#endif - // Parse the ledger char buf[32]; |