gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master ac121c4: BuildProgram: --minmapsize no longer


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master ac121c4: BuildProgram: --minmapsize no longer a hidden option
Date: Thu, 17 Jan 2019 14:27:35 -0500 (EST)

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

    BuildProgram: --minmapsize no longer a hidden option
    
    Recently a warning message was added to the library's option parsing
    function to inform the users that `minmapsize' is not set or is set to zero
    and discuss its implications.
    
    But when an option is hidden, its value is not read or set. So BuildProgram
    (which has set this option to hidden) would print this warning on every
    run. Until now it was hidden to avoid the output of `--help' being too
    extensive, but since we are using `gal_data_t' more and more, and also to
    avoid this warning, it is now removed from the hidden list of options.
---
 bin/buildprog/ui.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/bin/buildprog/ui.c b/bin/buildprog/ui.c
index edb12f3..9d51f20 100644
--- a/bin/buildprog/ui.c
+++ b/bin/buildprog/ui.c
@@ -123,7 +123,6 @@ ui_initialize_options(struct buildprogparams *p,
         case GAL_OPTIONS_KEY_TYPE:
         case GAL_OPTIONS_KEY_SEARCHIN:
         case GAL_OPTIONS_KEY_NUMTHREADS:
-        case GAL_OPTIONS_KEY_MINMAPSIZE:
         case GAL_OPTIONS_KEY_TABLEFORMAT:
         case GAL_OPTIONS_KEY_STDINTIMEOUT:
           cp->coptions[i].flags=OPTION_HIDDEN;



reply via email to

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