[Top][All Lists]

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

[gnuastro-commits] master 1297b36: Old option in Header's examples corre

From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 1297b36: Old option in Header's examples corrected
Date: Tue, 6 Sep 2016 14:31:54 +0000 (UTC)

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

    Old option in Header's examples corrected
    The option to add a new keyword to a FITS file's header was initially
    `--add' in Header. Later this option was changed to `--write', however, in
    the examples of the "Invoking Header" section of the manual, the old
    version still remained. It has been corrected now.
 doc/gnuastro.texi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index db9644f..2a50766 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -5253,7 +5253,7 @@ One line examples:
 $ astheader image.fits
 $ astheader --update=OLDKEY,153.034,"Old keyword comment"
 $ astheader --remove=COMMENT --comment="Anything you like ;-)."
-$ astheader --add=MYKEY1,20.00,"An example keyword" --add=MYKEY2,fd
+$ astheader --write=MYKEY1,20.00,"An example keyword" --write=MYKEY2,fd
 @end example
 @cindex HDU

reply via email to

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