diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-06 23:38:37 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-06 23:38:37 -0400 |
commit | 234304e3a3d2ba1eed989194e2ee7b90b3d661f6 (patch) | |
tree | e069b6d8318b955f02eb4c0eb2e63223673b0c43 /src/global.h | |
parent | c1bf4bdf69d2a0c2795cb5d44f13bc0bd3b16d8e (diff) | |
download | fork-ledger-234304e3a3d2ba1eed989194e2ee7b90b3d661f6.tar.gz fork-ledger-234304e3a3d2ba1eed989194e2ee7b90b3d661f6.tar.bz2 fork-ledger-234304e3a3d2ba1eed989194e2ee7b90b3d661f6.zip |
Added some stub options, for --help and friends.
Diffstat (limited to 'src/global.h')
-rw-r--r-- | src/global.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/global.h b/src/global.h index 230fcb51..f7f10b30 100644 --- a/src/global.h +++ b/src/global.h @@ -113,8 +113,15 @@ See LICENSE file included with the distribution for details and disclaimer."; OPTION(global_scope_t, debug_); + OPTION(global_scope_t, full_help); // -H + OPTION(global_scope_t, help); // -h + OPTION(global_scope_t, help_calc); + OPTION(global_scope_t, help_comm); + OPTION(global_scope_t, help_disp); + OPTION__ - (global_scope_t, init_file_, + (global_scope_t, init_file_, // -i + CTOR(global_scope_t, init_file_) { if (const char * home_var = std::getenv("HOME")) on((path(home_var) / ".ledgerrc").string()); @@ -127,7 +134,7 @@ See LICENSE file included with the distribution for details and disclaimer."; OPTION(global_scope_t, verbose); OPTION(global_scope_t, verify); - OPTION_(global_scope_t, version, DO() { + OPTION_(global_scope_t, version, DO() { // -v parent->show_version_info(std::cout); throw int(0); // exit immediately }); |