powerguru-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Powerguru-commit] [SCM] powerguru branch, master, updated. b6b781873f12


From: Rob Savoye
Subject: [Powerguru-commit] [SCM] powerguru branch, master, updated. b6b781873f1200b7e6803354c63117111d04dda8
Date: Tue, 16 Apr 2019 18:02:04 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "powerguru".

The branch, master has been updated
       via  b6b781873f1200b7e6803354c63117111d04dda8 (commit)
      from  31734f297af424ccbc73976d6e8f67431046d34e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/powerguru.git/commit/?id=b6b781873f1200b7e6803354c63117111d04dda8


commit b6b781873f1200b7e6803354c63117111d04dda8
Author: Rob Savoye <address@hidden>
Date:   Tue Apr 16 16:01:55 2019 -0600

    exit after usage()

diff --git a/daemon/main.cc b/daemon/main.cc
index 3ce40ea..4187538 100644
--- a/daemon/main.cc
+++ b/daemon/main.cc
@@ -143,6 +143,7 @@ main(int argc, char *argv[])
 
           case 'h':
               usage (argv[0]);
+              exit;
               break;
           case 'w':
               // this string needs to include the port if it's
@@ -268,6 +269,7 @@ usage (const char *prog)
     // Display the Database options
     std::cerr << "Database Options:" << std::endl;
     std::cerr << "\t-m hostname\t\t\tSpecify Database hostname or IP" << 
std::endl;
+    exit(0);
 }
 
 // local Variables:

-----------------------------------------------------------------------

Summary of changes:
 daemon/main.cc | 2 ++
 1 file changed, 2 insertions(+)


hooks/post-receive
-- 
powerguru



reply via email to

[Prev in Thread] Current Thread [Next in Thread]