From 234304e3a3d2ba1eed989194e2ee7b90b3d661f6 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 6 Feb 2009 23:38:37 -0400 Subject: Added some stub options, for --help and friends. --- src/global.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/global.h') 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 }); -- cgit v1.2.3