gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 448d31e 092/125: Minor typo corrections in opt


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 448d31e 092/125: Minor typo corrections in options of Header and Statistics
Date: Sun, 23 Apr 2017 22:36:45 -0400 (EDT)

branch: master
commit 448d31e288888a37f6d9a8c5df873349cde89f5a
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Minor typo corrections in options of Header and Statistics
    
    In header, the `--history' option was mistakenly given a `-h' short option
    value! So you couldn't specify the extension (which comes from the common
    options). It is now corrected to -H (as it was before).
    
    In the Statistics program options, the appendix number in arXiv:1505.01664
    which describes the mode finding algorithm was mistakenly written as
    `D'. While it should have been `C'. This is also now corrected.
---
 bin/header/ui.h       | 8 +++++---
 bin/statistics/args.h | 2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/bin/header/ui.h b/bin/header/ui.h
index 6936149..109e1ff 100644
--- a/bin/header/ui.h
+++ b/bin/header/ui.h
@@ -29,8 +29,10 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
 
 /* Available letters for short options:
 
-   a b d e f g j k l m n p r s t u v w x y z
-   A B C E F G H J L M O Q R T U W X Y Z  */
+   b e f g i j k l m n p s v x y z
+   A B C E F G J L M O R W X Y Z
+
+*/
 enum option_keys_enum
 {
   /* With short-option version. */
@@ -40,7 +42,7 @@ enum option_keys_enum
   ARGS_OPTION_KEY_UPDATE      = 'u',
   ARGS_OPTION_KEY_WRITE       = 'w',
   ARGS_OPTION_KEY_COMMENT     = 'c',
-  ARGS_OPTION_KEY_HISTORY     = 'h',
+  ARGS_OPTION_KEY_HISTORY     = 'H',
   ARGS_OPTION_KEY_DATE        = 't',
   ARGS_OPTION_KEY_QUITONERROR = 'Q',
 
diff --git a/bin/statistics/args.h b/bin/statistics/args.h
index 759230a..44091db 100644
--- a/bin/statistics/args.h
+++ b/bin/statistics/args.h
@@ -238,7 +238,7 @@ struct argp_option program_options[] =
       ARGS_OPTION_KEY_MODE,
       0,
       0,
-      "Mode (Appendix D of arXiv:1505.011664).",
+      "Mode (Appendix C of arXiv:1505.011664).",
       ARGS_GROUP_IN_ONE_ROW,
       &p->toprint,
       GAL_OPTIONS_NO_ARG_TYPE,



reply via email to

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