diff options
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc index c8917198..6be50910 100644 --- a/src/main.cc +++ b/src/main.cc @@ -50,10 +50,16 @@ namespace { } } +namespace ledger { + extern char * argv0; +} + int main(int argc, char * argv[], char * envp[]) { int status; + argv0 = argv[0]; + // The very first thing we do is handle some very special command-line // options, since they affect how the environment is setup: // |