aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/opendeco-cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/opendeco-cli.c')
-rw-r--r--src/opendeco-cli.c40
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)