X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=nssm.cpp;h=0ce86640c74346122a8345577448fee54695f71f;hb=636b16d3702049145143511c6461ff20bf1f245d;hp=08b94320089fed2f3111081abd6dfc48e6a820e0;hpb=4440946eccf1cb14e16f8d29c54fb4acecbd44ff;p=nssm.git diff --git a/nssm.cpp b/nssm.cpp index 08b9432..0ce8664 100644 --- a/nssm.cpp +++ b/nssm.cpp @@ -1,5 +1,9 @@ #include "nssm.h" +extern unsigned long tls_index; +extern bool is_admin; +extern imports_t imports; + /* String function */ int str_equiv(const char *a, const char *b) { int i; @@ -11,44 +15,77 @@ int str_equiv(const char *a, const char *b) { /* How to use me correctly */ int usage(int ret) { - fprintf(stderr, "NSSM: The non-sucking service manager\n"); - fprintf(stderr, "Version %s, %s\n", NSSM_VERSION, NSSM_DATE); - fprintf(stderr, "Usage: nssm