Show
Ignore:
Timestamp:
08/26/10 21:26:30 (21 months ago)
Author:
Antti-Juhani Kaijanaho <antti-juhani@…>
Children:
1a490d9fa05ba426833f949deac03729e3e6a8dc
Parents:
6c86e7ccc32f1c99d204262844a52b1b06359145
git-committer:
Antti-Juhani Kaijanaho <antti-juhani@…> (08/26/10 21:26:30)
Message:

[config] Use argv[0] as the default executable name.

Signed-off-by: Antti-Juhani Kaijanaho <antti-juhani@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • config.cc

    rd4631b9 rf3e4a78  
    5454                ( "help", "show this help message") 
    5555                ( "executable", 
    56                   po::value<std::string>()->default_value(BINDIR "/alue"), 
     56                  po::value<std::string>()->default_value(argv[0]), 
    5757                  "the location of a debuggable executable (for backtraces)" ) 
    5858                ( "daemon",