[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master a596683: CosmicCalculator: minmapsize option n
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master a596683: CosmicCalculator: minmapsize option not hidden to avoid warning |
Date: |
Mon, 25 Feb 2019 14:24:24 -0500 (EST) |
branch: master
commit a5966837cfa3ee41785d51ae762af53e40cf6efe
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>
CosmicCalculator: minmapsize option not hidden to avoid warning
Recently, a warning was added to the general option parsing library so when
`--minmapsize' has a value of zero or wasn't set, a notice would be
printed. This is very good to inform the user of possible performance
issues when this option is not set properly.
However, when an option is given a hidden attribute, it is no longer set,
so this warning is always printed. This was the case in CosmicCalculator
and this annoying warning would be printed all the time.
To solve this problem, with this commit, minmapsize is no longer a "hidden"
option.
---
bin/cosmiccal/ui.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/bin/cosmiccal/ui.c b/bin/cosmiccal/ui.c
index 4b6263f..e52842b 100644
--- a/bin/cosmiccal/ui.c
+++ b/bin/cosmiccal/ui.c
@@ -135,7 +135,6 @@ ui_initialize_options(struct cosmiccalparams *p,
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:
case GAL_OPTIONS_KEY_STDINTIMEOUT:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-commits] master a596683: CosmicCalculator: minmapsize option not hidden to avoid warning,
Mohammad Akhlaghi <=