From e1442bf12b70b67c0549a936cce2b78d964819cf Mon Sep 17 00:00:00 2001 From: Masamichi Takagi Date: Tue, 3 Oct 2017 15:34:00 +0900 Subject: [PATCH] mcexec: Fix usage --- executer/user/mcexec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/executer/user/mcexec.c b/executer/user/mcexec.c index 2b723f30..e835913a 100644 --- a/executer/user/mcexec.c +++ b/executer/user/mcexec.c @@ -1250,9 +1250,9 @@ static int reduce_stack(struct rlimit *orig_rlim, char *argv[]) void print_usage(char **argv) { #ifdef ADD_ENVS_OPTION - fprintf(stderr, "usage: %s [-c target_core] [-n nr_partitions] [<-e ENV_NAME=value>...] [--mpol-threshold=N] [--enable-straight-map] [--extend-heap-by=N] [--mpol-no-heap] [--mpol-no-bss] [--mpol-no-stack] [] (program) [args...]\n", argv[0]); + fprintf(stderr, "usage: %s [-c target_core] [-n nr_partitions] [<-e ENV_NAME=value>...] [--mpol-threshold=N] [--enable-straight-map] [--extend-heap-by=N] [-s (--stack-premap=)[premap_size][,max]] [--mpol-no-heap] [--mpol-no-bss] [--mpol-no-stack] [--mpol-shm-premap] [--disable-sched-yield] [] (program) [args...]\n", argv[0]); #else /* ADD_ENVS_OPTION */ - fprintf(stderr, "usage: %s [-c target_core] [-n nr_partitions] [--mpol-threshold=N] [--enable-straight-map] [--extend-heap-by=N] [--mpol-no-heap] [--mpol-no-bss] [--mpol-no-stack] [] (program) [args...]\n", argv[0]); + fprintf(stderr, "usage: %s [-c target_core] [-n nr_partitions] [--mpol-threshold=N] [--enable-straight-map] [--extend-heap-by=N] [-s (--stack-premap=)[premap_size][,max]] [--mpol-no-heap] [--mpol-no-bss] [--mpol-no-stack] [--mpol-shm-premap] [--disable-sched-yield] [] (program) [args...]\n", argv[0]); #endif /* ADD_ENVS_OPTION */ }