gnuastro-devel
[Top][All Lists]
Advanced

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

[task #15799] Add the autocomplete feature to gnuastro


From: Pedram Ashofteh Ardakani
Subject: [task #15799] Add the autocomplete feature to gnuastro
Date: Sun, 28 Feb 2021 00:35:59 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0

Follow-up Comment #18, task #15799 (project gnuastro):

Hi Mohammad, thank you for the swift response and code check!

I like the way you used the 'astfits' program instead of 'reinventing the
wheel' ;-) Great!

There you go, problem solved in Commit 32084abdd7
<https://codeberg.org/gnuastro/gnuastro/commit/32084abdd755b0cb2bf7b005aa621852bf6c6136>
;-)

Just a tip, printing messages using 'printf' instead of 'COMPREPLY' might be a
better approach. It can prevent confusions in the future. It might be better
to distinguish communicating with the user (using 'echo', 'printf', 'read',
etc.) and providing autocomplete suggestions (using 'COMPREPLY').

More explanation in the commit message. Please let me know if you have any
questions :-)

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/task/?15799>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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