diff options
author | Tim Segers <tsegers@pm.me> | 2023-01-04 14:29:05 +0100 |
---|---|---|
committer | Tim Segers <tsegers@pm.me> | 2023-01-07 15:24:51 +0100 |
commit | de20bd3bfddb44f8259b9a708db2700517ff498a (patch) | |
tree | 71c46330e26c89ae3e10b64f0d688c6703c22e7c /src/opendeco-cli.c | |
parent | c2ee99e9a2c34cafdacf7b24a9b413ed5846214c (diff) | |
download | opendeco-de20bd3bfddb44f8259b9a708db2700517ff498a.tar.gz |
Clarify that Imperial mode only affects depth units
References: https://todo.sr.ht/~tsegers/opendeco/1
Diffstat (limited to 'src/opendeco-cli.c')
-rw-r--r-- | src/opendeco-cli.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/opendeco-cli.c b/src/opendeco-cli.c index d8da388..42e3398 100644 --- a/src/opendeco-cli.c +++ b/src/opendeco-cli.c @@ -20,26 +20,26 @@ const char *argp_program_bug_address = "<~tsegers/opendeco@lists.sr.ht> or https const char *argp_program_version = "opendeco " VERSION; static struct argp_option options[] = { - {0, 0, 0, 0, "Dive options:", 0 }, - {"depth", 'd', "NUMBER", 0, "Set the depth of the dive in meters", 0 }, - {"time", 't', "NUMBER", 0, "Set the time of the dive in minutes", 1 }, - {"gas", 'g', "STRING", 0, "Set the bottom gas used during the dive, defaults to Air", 2 }, - {"pressure", 'p', "NUMBER", 0, "Set the surface air pressure, defaults to 1.01325bar or 1atm", 3 }, - {"rmv", 'r', "NUMBER", 0, "Set the RMV during the dive portion of the dive, defaults to 20", 4 }, - {"imperial", 'i', 0, 0, "Use imperial units (fsw)", 5 }, - - {0, 0, 0, 0, "Deco options:", 0 }, - {"gflow", 'L', "NUMBER", 0, "Set the gradient factor at the first stop, defaults to 30", 5 }, - {"gfhigh", 'H', "NUMBER", 0, "Set the gradient factor at the surface, defaults to 75", 6 }, - {"decogasses", 'G', "LIST", 0, "Set the gasses available for deco", 7 }, - {0, 'S', 0, OPTION_ARG_OPTIONAL, "Only switch gas at deco stops", 8 }, - {0, '6', 0, OPTION_ARG_OPTIONAL, "Perform last deco stop at 6m", 9 }, - {"decormv", 'R', "NUMBER", 0, "Set the RMV during the deco portion of the dive, defaults to 15", 10}, - {"showtravel", 'T', 0, 0, "Show travel segments in deco plan", 11}, - - {0, 0, 0, 0, "Informational options:", 0 }, - {"licenses", -1, 0, 0, "Show third-party licenses", 0 }, - {0, 0, 0, 0, 0, 0 } + {0, 0, 0, 0, "Dive options:", 0 }, + {"depth", 'd', "NUMBER", 0, "Set the depth of the dive in meters (or feet in imperial mode)", 0 }, + {"time", 't', "NUMBER", 0, "Set the time of the dive in minutes", 1 }, + {"gas", 'g', "STRING", 0, "Set the bottom gas used during the dive, defaults to Air", 2 }, + {"pressure", 'p', "NUMBER", 0, "Set the surface air pressure in bar, defaults to 1.01325bar", 3 }, + {"rmv", 'r', "NUMBER", 0, "Set the RMV during the dive portion of the dive in l/min, defaults to 20", 4 }, + {"imperial", 'i', 0, 0, "Use imperial depth units (fsw)", 5 }, + + {0, 0, 0, 0, "Deco options:", 0 }, + {"gflow", 'L', "NUMBER", 0, "Set the gradient factor at the first stop, defaults to 30", 6 }, + {"gfhigh", 'H', "NUMBER", 0, "Set the gradient factor at the surface, defaults to 75", 7 }, + {"decogasses", 'G', "LIST", 0, "Set the gasses available for deco", 8 }, + {0, 'S', 0, OPTION_ARG_OPTIONAL, "Only switch gas at deco stops", 9 }, + {0, '6', 0, OPTION_ARG_OPTIONAL, "Perform last deco stop at 6m (or 20ft in imperial mode)", 10}, + {"decormv", 'R', "NUMBER", 0, "Set the RMV during the deco portion of the dive in l/min, defaults to 15", 11}, + {"showtravel", 'T', 0, 0, "Show travel segments in deco plan", 12}, + + {0, 0, 0, 0, "Informational options:", 0 }, + {"licenses", -1, 0, 0, "Show third-party licenses", 0 }, + {0, 0, 0, 0, 0, 0 } }; static void print_xxd_arr(char *name, unsigned char *content, unsigned int len) |