--- gnutrition/main.c 2026/05/12 21:08:21 1.2 +++ gnutrition/main.c 2026/05/12 21:32:44 1.4 @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0-or-later /* - * $Id: main.c,v 1.2 2026/05/12 21:08:21 asm Exp $ + * $Id: main.c,v 1.4 2026/05/12 21:32:44 asm Exp $ * * main.c - Entry point for GNUtrition * @@ -90,7 +90,7 @@ print_help (void) printf (_(" -H, --height=CM your height in centimeters\n")); printf (_(" -w, --weight=KG your weight in kilograms\n")); printf (_(" -A, --activity=LEVEL activity level: sedentary, light,\n")); - printf (_(" moderate, very-active, or extra-active")); + printf (_(" moderate, very-active, or extra-active\n")); printf (_(" -G, --gender=NAME neutral, female, or male\n")); printf (_(" -d, --date=DATE date for log/budget " "(default: today)\n")); @@ -506,7 +506,7 @@ main (int argc, char **argv) log_db = NULL; exit_status = 0; - while ((c = getopt_long (argc, argv, "hVs:i:l:n:x:e:bc:a:H:w:A:d:D:P:", + while ((c = getopt_long (argc, argv, "hVs:i:l:n:x:e:bc:a:H:w:A:G:d:D:P:", long_options, NULL)) != -1) { switch (c)