gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 17cdb14: Addressing Debian's lintian warnings


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 17cdb14: Addressing Debian's lintian warnings
Date: Tue, 9 Apr 2019 18:56:20 -0400 (EDT)

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

    Addressing Debian's lintian warnings
    
    In a recent build of Gnuastro on Debian's lintian, several warnings came up
    that are fixed with this commit:
    
    1) GFDL's invariant parts mentioned fully in `bootstrapped/README'.
    2) Spelling errors in `bin/match/match.c' and `bin/mkprof/ui.c'.
    3) A man-page error due to the usage of `*' in the output of help.
---
 bin/match/match.c           | 2 +-
 bin/mkprof/ui.c             | 2 +-
 bin/script/sort-by-night.in | 2 +-
 bootstrapped/README         | 6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/match/match.c b/bin/match/match.c
index f2e8394..7dca0ab 100644
--- a/bin/match/match.c
+++ b/bin/match/match.c
@@ -437,7 +437,7 @@ match_catalog(struct matchparams *p)
   /* Print the number of matches if not in quiet mode. */
   if(!p->cp.quiet)
     {
-      fprintf(stdout, "Number of maching rows in both catalogs: %zu\n",
+      fprintf(stdout, "Number of matching rows in both catalogs: %zu\n",
               nummatched);
       if(p->out2name && strcmp(p->out1name, p->out2name))
         fprintf(stdout, "Output:\n %s\n %s\n", p->out1name, p->out2name);
diff --git a/bin/mkprof/ui.c b/bin/mkprof/ui.c
index f2282dc..f86d984 100644
--- a/bin/mkprof/ui.c
+++ b/bin/mkprof/ui.c
@@ -808,7 +808,7 @@ ui_read_cols(struct mkprofparams *p)
                 "the profile's pixels will have a value of zero and thus "
                 "they will not be identifiable from the zero-valued "
                 "background. If this behavior is intended, this warning "
-                "can be supressed with the `--quiet' (or `-q') option.\n");
+                "can be suppressed with the `--quiet' (or `-q') option.\n");
           break;
         }
 }
diff --git a/bin/script/sort-by-night.in b/bin/script/sort-by-night.in
index 3bbf1d9..34cfb36 100644
--- a/bin/script/sort-by-night.in
+++ b/bin/script/sort-by-night.in
@@ -54,7 +54,7 @@ EOF
 
 print_help() {
     cat <<EOF
-Usage: $scriptname [OPTION] /path/to/data/\*.fits
+Usage: $scriptname [OPTION] FITS-files
 
 This script is part of GNU Astronomy Utilities $version.
 
diff --git a/bootstrapped/README b/bootstrapped/README
index 9360f59..73adb0f 100644
--- a/bootstrapped/README
+++ b/bootstrapped/README
@@ -53,6 +53,6 @@ Copyright (C) 2015-2019 Free Software Foundation, Inc.
 Permission is granted to copy, distribute and/or modify this document under
 the terms of the GNU Free Documentation License, Version 1.3 or any later
 version published by the Free Software Foundation; with no Invariant
-Sections, with no Front-Cover Texts, and with no Back-Cover Texts.  A copy
-of the license is included in the "GNU Free Documentation License" file as
-part of this distribution.
\ No newline at end of file
+Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the
+license is included in the "GNU Free Documentation License" file as part of
+this distribution.
\ No newline at end of file



reply via email to

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