summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc16
1 files changed, 7 insertions, 9 deletions
diff --git a/main.cc b/main.cc
index 2b1b086a..7f3aa748 100644
--- a/main.cc
+++ b/main.cc
@@ -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];