Skip to content

Commit

Permalink
Preparing for release. Updated version and configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaa committed May 12, 2016
1 parent 8329a6a commit 1a183b2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ int main(int argc, char **argv) {
po::notify(vm);

if (vm.count("help")) {
cout << cmdline_options << endl;
cout << GetProgramName() << ' ' << GetProgramVersion()
<< cmdline_options << endl;
return -1;
}

Expand Down
4 changes: 4 additions & 0 deletions shinysocks.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

interfaces {
interface {
; Use to listen on all interfaces
; hostname "0.0.0.0"

; Use for testing on localhost
hostname "127.0.0.1"
port 1080
}
Expand Down
3 changes: 3 additions & 0 deletions shinysocks.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

namespace shinysocks {

constexpr char *GetProgramName() { return "ShinySocks"; }
constexpr char *GetProgramVersion() { return "1.00"; }

class Closer
{
public:
Expand Down

0 comments on commit 1a183b2

Please sign in to comment.