summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-04 18:23:18 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-04 19:55:08 -0400
commit73cf3b01fbd50c3a8a4fd96ff69643c28394d8fe (patch)
tree695fde78e03351750210715ea76ec686ff04fbfc /src/option.h
parentb9603a1512acdfeb5d304e5ae910c1da553b3337 (diff)
downloadfork-ledger-73cf3b01fbd50c3a8a4fd96ff69643c28394d8fe.tar.gz
fork-ledger-73cf3b01fbd50c3a8a4fd96ff69643c28394d8fe.tar.bz2
fork-ledger-73cf3b01fbd50c3a8a4fd96ff69643c28394d8fe.zip
Added structural support in main() for using a REPL.
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/option.h b/src/option.h
index acba035c..14b85c50 100644
--- a/src/option.h
+++ b/src/option.h
@@ -56,8 +56,7 @@ void process_option(const string& name, scope_t& scope,
void process_environment(const char ** envp, const string& tag,
scope_t& scope);
-void process_arguments(int argc, char ** argv, scope_t& scope,
- std::list<string>& args);
+strings_list process_arguments(strings_list args, scope_t& scope);
DECLARE_EXCEPTION(option_error, std::runtime_error);