[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 8db89b9 1/3: More clear MakeCatalog --help out
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 8db89b9 1/3: More clear MakeCatalog --help output |
Date: |
Mon, 30 Oct 2017 14:36:16 -0400 (EDT) |
branch: master
commit 8db89b90bf7c915c2d74a1baf06eb690a39ef418
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>
More clear MakeCatalog --help output
The group of options related to settings of upper limit magnitude
measurements had a title called "Upper limit magnitude". This could cause
people to confuse these with output columns (following the recent
classification of columns). So this title is now set to "Upper limit
magnitude settings".
Also, MakeCatalog doesn't currently produce a log file, so it is now set to
a hidden option in MakeCatalog and thus it won't show in the output of
`--help'.
I also noticed that the output of `--cite' for MakeCatalog doesn't have new
line characters on its first two lines. This is also corrected here.
---
bin/mkcatalog/args.h | 2 +-
bin/mkcatalog/authors-cite.h | 4 ++--
bin/mkcatalog/ui.c | 1 +
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/bin/mkcatalog/args.h b/bin/mkcatalog/args.h
index c602ec2..9c74ee3 100644
--- a/bin/mkcatalog/args.h
+++ b/bin/mkcatalog/args.h
@@ -211,7 +211,7 @@ struct argp_option program_options[] =
/* Upper limit magnitude configurations. */
{
0, 0, 0, 0,
- "Upper limit magnitude:",
+ "Upper limit magnitude settings:",
UI_GROUP_UPPERLIMIT
},
{
diff --git a/bin/mkcatalog/authors-cite.h b/bin/mkcatalog/authors-cite.h
index 5022b41..eaa3427 100644
--- a/bin/mkcatalog/authors-cite.h
+++ b/bin/mkcatalog/authors-cite.h
@@ -32,8 +32,8 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
Gnuastro source code directory) as an example.*/
#define PROGRAM_BIBTEX \
- "Description of MakeCatalog" \
- "--------------------------" \
+ "Description of MakeCatalog\n" \
+ "--------------------------\n" \
"@ARTICLE{2016arXiv161106387A,\n" \
" author = {{Akhlaghi}, M.},\n" \
" title = \"{Separating detection and catalog production}\",\n" \
diff --git a/bin/mkcatalog/ui.c b/bin/mkcatalog/ui.c
index 63a225b..0cfb7bf 100644
--- a/bin/mkcatalog/ui.c
+++ b/bin/mkcatalog/ui.c
@@ -133,6 +133,7 @@ ui_initialize_options(struct mkcatalogparams *p,
/* Select individually. */
switch(cp->coptions[i].key)
{
+ case GAL_OPTIONS_KEY_LOG:
case GAL_OPTIONS_KEY_TYPE:
case GAL_OPTIONS_KEY_SEARCHIN:
case GAL_OPTIONS_KEY_IGNORECASE: