Skip to content
Snippets Groups Projects
Commit 70cb9e4f authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

avoid conflict with main options

parent e9f47995
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@ char const *help_stop =
" -u: unsupervise service(s)\n"
;
char const *usage_svctl = "66 svctl [ -h ] [ -z ] [ -v verbosity ] [ -l live ] [ -t tree ] [ -T timeout ] [ -wu | -wU | -wd | -wD | -wr | -wR ] [ -abqhkti12pcyoduxOr ] service(s)" ;
char const *usage_svctl = "66 svctl [ -h ] [ -z ] [ -v verbosity ] [ -l live ] [ -t tree ] [ -T timeout ] [ -wu | -wU | -wd | -wD | -wr | -wR ] [ -abqHkti12pcyoduxOr ] service(s)" ;
char const *help_svctl =
"\n"
......
......@@ -174,7 +174,7 @@ static int pidservice_get_id(pidservice_t *apids, unsigned int id)
return -1 ;
}
void notify(pidservice_t *apids, unsigned int pos, char const *sig, unsigned int what)
static void notify(pidservice_t *apids, unsigned int pos, char const *sig, unsigned int what)
{
log_flow() ;
......@@ -842,7 +842,7 @@ int ssexec_svctl(int argc, char const *const *argv, ssexec_t *info)
case 'a' :
case 'b' :
case 'q' :
case 'h' :
case 'H' :
case 'k' :
case 't' :
case 'i' :
......@@ -861,7 +861,7 @@ int ssexec_svctl(int argc, char const *const *argv, ssexec_t *info)
if (datalen >= DATASIZE)
log_die(LOG_EXIT_USER, "too many arguments") ;
data[datalen++] = opt ;
data[datalen++] = opt == 'H' ? 'h' : opt ;
break ;
case 'w' :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment