gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 866cabb: Removed un-necessary options in Cosmi


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 866cabb: Removed un-necessary options in CosmicCalculator
Date: Thu, 9 Nov 2017 19:33:29 -0500 (EST)

branch: master
commit 866cabbe0603ff02d9196cf7aa9a1f1a79f62995
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Removed un-necessary options in CosmicCalculator
    
    The four un-necessary `--log', `--numthreads', `--minmapsize', and
    `--quiet' from the operating mode group of options are now hidden in
    CosmicCalculator's `--help' output. CosmicCalculator doesn't currently use
    these options.
---
 bin/cosmiccal/ui.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bin/cosmiccal/ui.c b/bin/cosmiccal/ui.c
index 00ba91e..adf1cf1 100644
--- a/bin/cosmiccal/ui.c
+++ b/bin/cosmiccal/ui.c
@@ -130,8 +130,12 @@ ui_initialize_options(struct cosmiccalparams *p,
       switch(cp->coptions[i].key)
         {
         case GAL_OPTIONS_KEY_HDU:
+        case GAL_OPTIONS_KEY_LOG:
         case GAL_OPTIONS_KEY_TYPE:
+        case GAL_OPTIONS_KEY_QUIET:
         case GAL_OPTIONS_KEY_SEARCHIN:
+        case GAL_OPTIONS_KEY_NUMTHREADS:
+        case GAL_OPTIONS_KEY_MINMAPSIZE:
         case GAL_OPTIONS_KEY_IGNORECASE:
         case GAL_OPTIONS_KEY_TABLEFORMAT:
           cp->coptions[i].flags=OPTION_HIDDEN;



reply via email to

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