diff --git a/minix/commands/service/service.c b/minix/commands/service/service.c index b9e44077d..9b185e30c 100644 --- a/minix/commands/service/service.c +++ b/minix/commands/service/service.c @@ -123,6 +123,7 @@ static int known_request_types[] = { * system service */ #define ARG_LABELNAME "-label" /* custom label name */ +#define ARG_PROGNAME "-progname" /* custom program name */ #define ARG_CONFIG "-config" /* name of the file with the resource * configuration */ @@ -149,6 +150,7 @@ static char *req_label = NULL; static char *req_trg_label = NULL; static char *req_path = NULL; static char *req_path_self = SELF_REQ_PATH; +static char *req_progname = NULL; static char *req_args = ""; static int req_major = 0; static int devman_id = 0; @@ -177,14 +179,14 @@ static void print_usage(char *app_name, char *problem) fprintf(stderr, "Warning, %s\n", problem); fprintf(stderr, "Usage:\n"); fprintf(stderr, - " %s [%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s] (up|run|edit|update) [%s ] [%s ] [%s ] [%s ] [%s ] [%s ] [%s ] [%s ] [%s ] [%s