gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master d075287: MakeProfiles: better option explanati


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master d075287: MakeProfiles: better option explanation with --help and -P
Date: Fri, 2 Apr 2021 16:49:28 -0400 (EDT)

branch: master
commit d0752872892a2aaf021415542af2f6abd9a5e354
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    MakeProfiles: better option explanation with --help and -P
    
    Until now, when run with '--help' or '-P', some of the option descriptions
    were just slightly long enough to force a breaking of the line into
    two. This made it hard to read the option values.
    
    With this commit, these options have been just slightly shortened to be
    easier to read. In the process, I also fixed the description of the
    '--minmapsize' option to fit its long value within the fixed length.
---
 bin/mkprof/args.h                  | 10 +++++-----
 lib/gnuastro-internal/commonopts.h |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/mkprof/args.h b/bin/mkprof/args.h
index c0d05fe..d6a8887 100644
--- a/bin/mkprof/args.h
+++ b/bin/mkprof/args.h
@@ -209,7 +209,7 @@ struct argp_option program_options[] =
       UI_KEY_NUMRANDOM,
       "INT",
       0,
-      "No. of random points in Monte Carlo integration.",
+      "No. of random points in Monte Carlo integ.",
       UI_GROUP_PROFILES,
       &p->numrandom,
       GAL_TYPE_SIZE_T,
@@ -376,7 +376,7 @@ struct argp_option program_options[] =
       UI_KEY_CCOL,
       "STR/INT",
       0,
-      "Coordinate columns (one call for each dimension).",
+      "Coordinate columns (one call for each dim.).",
       UI_GROUP_CATALOG,
       &p->ccol,
       GAL_TYPE_STRLL,
@@ -391,7 +391,7 @@ struct argp_option program_options[] =
       0,
       "sersic (1), moffat (2), gaussian (3), point (4), "
       "flat (5), circumference (6), distance (7), "
-      "radial-table (8)",
+      "radial-table (8).",
       UI_GROUP_CATALOG,
       &p->fcol,
       GAL_TYPE_STRING,
@@ -430,7 +430,7 @@ struct argp_option program_options[] =
       UI_KEY_PCOL,
       "STR/INT",
       0,
-      "Position angle (First X-Z-X Euler angle in 3D).",
+      "Position angle (3D: first X-Z-X Euler angle).",
       UI_GROUP_CATALOG,
       &p->pcol,
       GAL_TYPE_STRING,
@@ -508,7 +508,7 @@ struct argp_option program_options[] =
       UI_KEY_TCOL,
       "STR/INT",
       0,
-      "Truncation in units of --rcol, unless --tunitinp.",
+      "Truncation in units of --rcol.",
       UI_GROUP_CATALOG,
       &p->tcol,
       GAL_TYPE_STRING,
diff --git a/lib/gnuastro-internal/commonopts.h 
b/lib/gnuastro-internal/commonopts.h
index bec62fa..16fc496 100644
--- a/lib/gnuastro-internal/commonopts.h
+++ b/lib/gnuastro-internal/commonopts.h
@@ -356,7 +356,7 @@ struct argp_option gal_commonopts_options[] =
       GAL_OPTIONS_KEY_MINMAPSIZE,
       "INT",
       0,
-      "Minimum bytes in array to not use ram RAM.",
+      "Min. bytes to avoid RAM automatically.",
       GAL_OPTIONS_GROUP_OPERATING_MODE,
       &cp->minmapsize,
       GAL_TYPE_SIZE_T,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]