From 9ba56f6ee6032e254b84e98dafae56c5457b972c Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Sat, 11 Jun 2016 23:38:19 +0200 Subject: [PATCH] Updated usage description to highlight the presence of multiple executables. --- README | 5 ++++- examples/main.c | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README b/README index a010c4595a..b0a21c610f 100644 --- a/README +++ b/README @@ -11,7 +11,10 @@ See INSTALL.swift for install instructions. -Usage: swift [OPTION] PARAMFILE +Usage: swift [OPTION]... PARAMFILE + swift_mpi [OPTION]... PARAMFILE + swift_fixdt [OPTION]... PARAMFILE + swift_fixdt_mpi [OPTION]... PARAMFILE Valid options are: -a Pin runners using processor affinity diff --git a/examples/main.c b/examples/main.c index 9f371d64dd..2637789e32 100644 --- a/examples/main.c +++ b/examples/main.c @@ -50,7 +50,11 @@ */ void print_help_message() { - printf("\nUsage: swift [OPTION] PARAMFILE\n\n"); + printf("\nUsage: swift [OPTIONS] PARAMFILE\n"); + printf(" swift_mpi [OPTIONS] PARAMFILE\n"); + printf(" swift_fixdt [OPTIONS] PARAMFILE\n"); + printf(" swift_fixdt_mpi [OPTIONS] PARAMFILE\n\n"); + printf("Valid options are:\n"); printf(" %2s %8s %s\n", "-a", "", "Pin runners using processor affinity"); printf(" %2s %8s %s\n", "-c", "", "Run with cosmological time integration"); -- GitLab