gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 66a87c9: Corrected typo in book and developer-


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 66a87c9: Corrected typo in book and developer-build
Date: Tue, 5 Jun 2018 17:24:56 -0400 (EDT)

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

    Corrected typo in book and developer-build
    
    There were two `$' signs in one of the example commands in the General
    program usage tutorial. Also, the error messages when `--upload' and
    `--publish' aren't given a value has been made more clear.
---
 developer-build   | 4 ++--
 doc/gnuastro.texi | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/developer-build b/developer-build
index 4594194..22b8ae2 100755
--- a/developer-build
+++ b/developer-build
@@ -244,7 +244,7 @@ do
             upload=1
             url="$2"
             if [ x"$url" = x ]; then
-                echo "No argument given to '--upload' ('-u')."
+                echo "No SERVER:DIR given to '--upload' ('-u') ."
                 exit 1;
             fi
             shift # past argument
@@ -259,7 +259,7 @@ do
             upload=1
             url="$2"
             if [ x"$url" = x ]; then
-                echo "No argument given to '--publish' ('-u')."
+                echo "No SERVER:DIR given to '--publish' ('-p') ."
                 exit 1;
             fi
             shift # past argument
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index fed24ef..033cdd6 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -3390,9 +3390,9 @@ all apertures to be identical after all).
 
 @example
 $ rm *.txt
-$ $ asttable cat/xdf-f160w.fits -h2 -cRA,DEC                       \
-             | awk '!/^#/@{print NR, $1, $2, 5, 5, 0, 0, 1, NR, 
address@hidden' \
-             > apertures.txt
+$ asttable cat/xdf-f160w.fits -h2 -cRA,DEC                       \
+           | awk '!/^#/@{print NR, $1, $2, 5, 5, 0, 0, 1, NR, address@hidden' \
+           > apertures.txt
 @end example
 
 We can now feed this catalog into MakeProfiles to build the apertures for



reply via email to

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