diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-10 22:37:05 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-10 22:37:05 -0400 |
commit | 44518bc64066e715c2664ff666a81b857a1b00f9 (patch) | |
tree | 64fdcc97128b1582e8378087f1f1154d2e3176e1 /src/precmd.cc | |
parent | f605e107fcaf8f2f12ec927895eddd72dbe2ea5b (diff) | |
download | fork-ledger-44518bc64066e715c2664ff666a81b857a1b00f9.tar.gz fork-ledger-44518bc64066e715c2664ff666a81b857a1b00f9.tar.bz2 fork-ledger-44518bc64066e715c2664ff666a81b857a1b00f9.zip |
Wired up the "entry" command from 2.x, though it still needs to be ported.
Diffstat (limited to 'src/precmd.cc')
-rw-r--r-- | src/precmd.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/precmd.cc b/src/precmd.cc index 16b7e5f1..5ec6c7c6 100644 --- a/src/precmd.cc +++ b/src/precmd.cc @@ -34,25 +34,6 @@ namespace ledger { -namespace { - string join_args(call_scope_t& args) - { - std::ostringstream buf; - bool first = true; - - for (std::size_t i = 0; i < args.size(); i++) { - if (first) { - buf << args[i]; - first = false; - } else { - buf << ' ' << args[i]; - } - } - - return buf.str(); - } -} - value_t parse_command(call_scope_t& args) { string arg = join_args(args); |