gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 141a142: Table: correct mistyped name for --ro


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 141a142: Table: correct mistyped name for --rowrandom
Date: Fri, 5 Feb 2021 20:59:38 -0500 (EST)

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

    Table: correct mistyped name for --rowrandom
    
    This option was just added to table a couple of commits ago, but the actual
    option name (and its description in '--help') was wrongly entered as
    '--randomrows'.
    
    With this commit, the option name has been corrected to have the same name
    as the description in the book, and the relevant variable name within the
    Table program's source.
---
 bin/table/args.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/table/args.h b/bin/table/args.h
index bf5b13a..5a264a7 100644
--- a/bin/table/args.h
+++ b/bin/table/args.h
@@ -330,7 +330,7 @@ struct argp_option program_options[] =
       gal_options_parse_csv_float64
     },
     {
-      "randomrows",
+      "rowrandom",
       UI_KEY_ROWRANDOM,
       "INT",
       0,
@@ -347,7 +347,7 @@ struct argp_option program_options[] =
       UI_KEY_ENVSEED,
       0,
       0,
-      "Use GSL_RNG_SEED env. for '--randomrows'.",
+      "Use GSL_RNG_SEED env. for '--rowrandom'.",
       UI_GROUP_OUTROWS,
       &p->envseed,
       GAL_OPTIONS_NO_ARG_TYPE,



reply via email to

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